mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
af70d05838
Summary: Previously `_bridgeTransactionListeners` were informed about `reactBridgeDidFinishTransaction` inside of one of the UI blocks. That seems pretty arbitrary, doesn't really mean a "transaction" is really over (assuming transaction means all UI updates) and even when that block does nothing we still need to call these listeners, since there could be other UI blocks generated somewhere else! So I've moved this call to a place that seemed better (=after all UI blocks are done), since all listeners are interested in knowing when layout has happened. public Reviewed By: nicklockwood Differential Revision: D2571122 fb-gh-sync-id: 62be03ebc4353d6f6318c9765079b87b07483be2