-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Feat: Performance enhancements #281
base: main
Are you sure you want to change the base?
Feat: Performance enhancements #281
Conversation
@fveracoechea is attempting to deploy a commit to the cva Team on Vercel. A member of the Team first needs to authorize it. |
This is super thoughtful of you, thanks @fveracoechea 🙏❤️ Fairly busy at the moment and this will take some time to review, so don't be too disheartened if it takes some time to get around to this! Really appreciate it |
Thanks @joe-bell 🙏 let me know if you have any suggestions or concerns, I’d be happy to help! |
Description
Implement code optimizations on CVA to increase execution speed and reduce the number of operations, such as iterations and object copying.
Additional context
Let's say we have a web page made of React components, where most components utilize CVA.
Since React components render and re-render often, it's important to keep CVA's runtime overhead as low as possible. This optimization will enhance scalability, especially on large projects.
Benchmark results
All tests passing with no problems:
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).