Nick Fitzgerald 504fa4aba6 Bug 1224760 - Improve tree rendering performance by throttling handlers to once per animation frame; r=jsantell
React.set{State,Props} is supposed to be buffered and only actually trigger a
re-render once per animation frame, but ends up still doing a lot of mysterious
and expensive things. We can't tolerate that in our event handlers (especially
scoll handlers) so instead this commit ensures that they will only happen once
and on the next animation frame.
2015-11-13 16:53:11 -08:00
..