-
Notifications
You must be signed in to change notification settings - Fork 17
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
parket recompute the views too many times #8
Comments
hey, I'm doing alright I'll look into it, that's definitely too many updates |
Would it be possible to pass state to each view, then diff and memoize? |
Was thinking about only computing on access & change passing the state to each view would change the api also memoizing with deep state is kinda hard |
I've released 0.2.1 which should only update the views twice in your example |
it works! :) thanks @ForsakenHarmony! closing the issue |
Hi @ForsakenHarmony! how are you?
I've been testing the library and I saw that for only one mutation a view is recomputed four times. This can be a performance issue if you are working with expensive computations like filtering arrays.
https://repl.it/@MartinAcosta/views-parket
The text was updated successfully, but these errors were encountered: