-
Notifications
You must be signed in to change notification settings - Fork 185
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
refactor: add mergeStyle #7979
refactor: add mergeStyle #7979
Conversation
size-limit report 📦
|
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. |
e2e tests |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7979 +/- ##
==========================================
+ Coverage 95.35% 95.36% +0.01%
==========================================
Files 379 380 +1
Lines 11314 11321 +7
Branches 3773 3769 -4
==========================================
+ Hits 10788 10796 +8
+ Misses 526 525 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
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.
👍
👀 Docs deployed
Commit cdb3d89 |
cdb3d89
не измерял случайно с этой оптимизацией и без? |
18c2c5e
Перепилил с учетом постоянного использования только двух объектов |
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.
🔥 🚀
e2e-тесты(не требуется)Дизайн-ревью(не требуется)Release notes(не требуется)Описание
В свойствах стилей часто используются спреды, которые копируют значения объектов
Изменения
Добавляем функцию mergeStyle которая уменьшает количество компирований
Release notes