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

index: add raf guard #135

Merged
merged 2 commits into from
Jul 12, 2016
Merged

index: add raf guard #135

merged 2 commits into from
Jul 12, 2016

Conversation

yoshuawuyts
Copy link
Member

Adds a requestAnimationFrame loop, so unbound state mutations don't thrash the UI thread. The more boring cousin to isolated mutable updates (which I might gist up soonish, perhaps). Means it'll only run on IE10+ without a shim attached on the window (e.g. < 1% browsers are affected).

Provides a 10000x perf improvement in some scenarios, or something like that.

Closes #99 #81. Thanks! ✨

@toddself
Copy link
Contributor

toddself commented Jul 6, 2016

Are you a 10000x programmer now? If I use choo in your project does that make me one as well?!

@yoshuawuyts
Copy link
Member Author

@toddself you're an ∞ programmer

@yoshuawuyts
Copy link
Member Author

Should probs release this together with #108 as a minor version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants