-
Notifications
You must be signed in to change notification settings - Fork 199
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
performance considerations #3
Comments
Got a huge win by using 'insertRule' in production, anywhere from 10-2000x. |
Any ideas on recovering unused rules? I like to write css as a function of state like My idea is to keep track of what elements are actually using the rules and discard those rules if they aren't. We can do this with mutation observer, it would keep this library from being react specific which could be nice. But it may be pretty shitty for performance so needs some tests. I can look into it if you want to head in this direction? |
There's an experimental |
perf is 'mostly solved' over the last few releases. closing. |
@threepointone as a newcomer, I am really interested to see some info what to expect performance wise (compared to plain CSS). I see there is a placeholder for that in the docs but it appears to be empty. Some benchmarking would be even better. |
parent issue/scratchpad for all things perf
things that can affect performance
things to lookout for
things that can help
The text was updated successfully, but these errors were encountered: