react-native/React
Martin Kralik f916ec26a6 removed unnecessary dispatches to main queue
Summary: There is no point in dispatching to main thread if there is nothing to do there.
This place gets called basically any time a repeating js timer fires, which doesn't imply UI changes (although usually that's why people setup timers).
Combined with previous diffs that makes us not generate empty blocks (nil instead), this could be minor perf win in some rare cases.

This also changes semantic of `reactBridgeDidFinishTransaction` call a bit. Previously it was done no matter if UI has changed or not.
I think it should be safe, since seems like callees really care only about views being laid out.

Depends on D2571166. (not strictly speaking)

public

Reviewed By: jspahrsummers, nicklockwood

Differential Revision: D2571188

fb-gh-sync-id: 02d52e4615475072c3c27226e67c431a667ec990
2015-10-27 05:09:45 -07:00
..
Base Fixed dev mode override to work with unminified JS 2015-10-27 04:14:29 -07:00
Executors Measure script conversion time in RCTPLScriptExecution 2015-10-22 06:41:28 -07:00
Layout Fix width being ignored when has a value of 0 2015-09-25 15:42:21 -07:00
Modules removed unnecessary dispatches to main queue 2015-10-27 05:09:45 -07:00
Profiler Update button and add comments to Perf Monitor 2015-10-24 14:03:27 -07:00
React.xcodeproj Fixed build for UIExplorer project. 2015-10-27 02:42:26 -07:00
Views Size flexibility modes for RCTRootView 2015-10-26 15:41:29 -07:00