art
art copied to clipboard
Run requestAnimationFrame for no jank if a browser supports it
Existing code always run setTimeout if running browser is not firefox. This causes jank issue in other major browsers except firefox. Furthermore this invalidates Time Slice feature which reactjs 16.x will provide for high framerate. This commit enables requestAnimationFrame to be run for major web browsers.
@sebmarkbage Could you review this PR?