-
Notifications
You must be signed in to change notification settings - Fork 129
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
perf: reduce dependencies #601
Conversation
Codecov Report
@@ Coverage Diff @@
## alpha #601 +/- ##
==========================================
- Coverage 94.26% 94.14% -0.13%
==========================================
Files 136 135 -1
Lines 2198 2203 +5
Branches 631 633 +2
==========================================
+ Hits 2072 2074 +2
- Misses 103 105 +2
- Partials 23 24 +1
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/sumup-oss/circuit-ui/iitfxymln |
feature/polish-v2
ff7ab8c
to
de6d438
Compare
feature/reduce-dependencies
de6d438
to
5df57a7
Compare
🎉 This PR is included in version 2.0.0-alpha.23 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Purpose
In order to decrease bundle size, we should reduce the number of dependencies we rely on. Third-party packages tend to include more code than we need. Tree-shaking solves some of that, but in some cases, we can simply move the needed code into Circuit UI.
Approach and changes
hideVisually
style helperBREAKING CHANGE: The static size properties have been removed from the CardList.Item component. Pass the size as a string instead.
Definition of done