Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Use requestAnimationFrame to debounce rendering #2

Merged
merged 4 commits into from
May 14, 2020
Merged

Conversation

myobie
Copy link
Member

@myobie myobie commented May 14, 2020

Typesafe raf function to debounce rendering. The raf always uses the last provided args so will always be up to date, this is similar to choo's nanoraf.

@myobie myobie self-assigned this May 14, 2020
@myobie myobie added the merge label May 14, 2020
@myobie myobie merged commit 410211d into master May 14, 2020
@myobie myobie deleted the raf-render branch May 14, 2020 19:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant