mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 09:35:11 +08:00
Summary: Calling setTimeout(f, 0) will currently schedule f to be called the next frame instead of immediately (which is how it behaves on iOS). This immediately calls back to JS and invokes the function. Reviewed By: astreet, tadeuzagallo Differential Revision: D3006125 fb-gh-sync-id: 9fa109ed82836a718cbb2e8cb21da4943d96f5f6 shipit-source-id: 9fa109ed82836a718cbb2e8cb21da4943d96f5f6