Как стать автором
Обновить
6
0
Иван Копенков @kopivan

Front-End Developer

Отправить сообщение

Ant Design Component Customization and Bundle Optimization

Время на прочтение13 мин
Количество просмотров10K

I'm Ivan Kopenkov, a senior front-end developer at Mail.ru Cloud Solutions. In this article, I will tell you about the approaches we have used for the UI library components customization. You will also learn how to significantly decrease bundle size, cutting off all the unnecessary modules Ant Design takes there.

In our case, we are making wrappers for original Ant Design components inside the project, changing their appearance, and developing their logic. At the same time, we import both customized and original components right from the ant-design module. That saves tree shaking functionality and makes complex library components use our wrappers instead of original nested elements.

If you are already or about to use Ant Design, this article will provide you with a better and more effective way to do so. Even if you have chosen another UI library, you might be able to implement these ideas.

Read more
Всего голосов 12: ↑12 и ↓0+12
Комментарии0

Кастомизация компонентов Ant Design и оптимизация бандла

Время на прочтение12 мин
Количество просмотров24K
The Archivist by juliedillon

Я Иван Копенков, ведущий фронтенд-разработчик в Mail.ru Cloud Solutions, в статье расскажу, какие есть подходы к кастомизации компонентов UI-библиотеки Ant Design, как это сделали мы, а так же покажу, как удалось полностью избавиться от неиспользуемых модулей и уменьшить размер бандла.

Если вы уже используете или собираетесь использовать библиотеку компонентов Ant Design, то из данной статьи сможете узнать, как можно делать это удобнее и эффективнее. Если вы используете другую библиотеку компонентов, то сможете использовать описанный подход в работе с вашей UI-библиотекой.
Читать дальше →
Всего голосов 31: ↑27 и ↓4+23
Комментарии8

Информация

В рейтинге
Не участвует
Работает в
Дата рождения
Зарегистрирован
Активность