-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: don't mount icons on start #6691
docs: don't mount icons on start #6691
Conversation
- closed #6686 Сейчас в стайлгайде иконки монтируются сразу при открытии страницы. Это было сделано для копирования иконок в Frame. Данный способ серьезно замедляет открытие страницы и также монтирует очень большое количество DOM нод Избавился от монтирование иконок на старте и добавил обсервер на спрайт
👀 Docs deployed
Commit 696779c |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6691 +/- ##
=======================================
Coverage 82.25% 82.25%
=======================================
Files 331 331
Lines 10273 10276 +3
Branches 3439 3442 +3
=======================================
+ Hits 8450 8453 +3
Misses 1823 1823
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
- closed #6686 Сейчас в стайлгайде иконки монтируются сразу при открытии страницы. Это было сделано для копирования иконок в Frame. Данный способ серьезно замедляет открытие страницы и также монтирует очень большое количество DOM нод Избавился от монтирование иконок на старте и добавил обсервер на спрайт
Описание
Сейчас в стайлгайде иконки монтируются сразу при открытии страницы. Это было сделано для копирования иконок в Frame. Данный способ серьезно замедляет открытие страницы и также монтирует очень большое количество DOM нод
Изменения
Избавился от монтирование иконок на старте и добавил обсервер на спрайт
LCP (замедление cpu x6, M1) 13 сек -> 5.5 сек