react-native/Libraries/Interaction
Spencer Ahrens f21da3aa31 <Incremental> for incremental rendering
Summary:Everything wrapped in `<Incremental>` is rendered sequentially via `InteractionManager`.
The `onDone` callback is called when all descendent incremental components have
finished rendering, used by `<IncrementalPresenter>` to make the story visible all at once
instead of the parts popping in randomly.

This includes an example that demonstrates streaming rendering and the use of
`<IncrementalPresenter>`.  Pressing down pauses rendering and you can see the
`TouchableOpacity` animation runs smoothly.  Video:

https://youtu.be/4UNf4-8orQ4

Ideally this will be baked into React Core at some point, but according to jordwalke that's
going to require a major refactoring and take a long time, so going with this for now.

Reviewed By: ericvicenti

Differential Revision: D2506522

fb-gh-sync-id: 5969bf248de10d38b0ac22f34d7d49bf1b3ac4b6
shipit-source-id: 5969bf248de10d38b0ac22f34d7d49bf1b3ac4b6
2016-03-10 08:14:23 -08:00
..
__tests__ Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
InteractionManager.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
InteractionMixin.js flowify a few more Libraries 2015-03-26 10:13:38 -08:00
JSEventLoopWatchdog.js <Incremental> for incremental rendering 2016-03-10 08:14:23 -08:00
TaskQueue.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00