Skip to content
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

Tree shaking and bundle size #44

Open
paarthenon opened this issue Jul 21, 2022 · 0 comments
Open

Tree shaking and bundle size #44

paarthenon opened this issue Jul 21, 2022 · 0 comments
Labels
20% The last 20%. Project maturity, presentation, and optimization

Comments

@paarthenon
Copy link
Owner

Evaluate how well the library can be tree-shaken. While the library is already pretty small (3kb gzipped) this would be nice to have, especially since many users are likely unaware of the advanced functionality of Variant (flags/matrix, type-first elements) and if they aren't using them, they might as well not spend the kb.

Other discriminants

I have a sneaking suspicion that variantCosmos, as convenient as it is from a UX perspective, will significantly complicate tree-shaking. Let's find out.

@paarthenon paarthenon added the 20% The last 20%. Project maturity, presentation, and optimization label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
20% The last 20%. Project maturity, presentation, and optimization
Projects
None yet
Development

No branches or pull requests

1 participant