mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
de094396e3
Summary: This diff changes the InitialLifeCycleState used when initializing RN in FB4A from BEFORE_RESUME to BEFORE_CREATE. The value of this field is used during the teardown of RN to determine if RN is actually running or not The intention of this change is to represent the right behavior of RN during initialization, also this will allow RN to be turn down in case of memory pressure when the bridge has been initialized but before the user has navigated to a RN screen (preloading) changelog: [internal] Reviewed By: JoshuaGross Differential Revision: D22577555 fbshipit-source-id: e54ef596cfe4429745611fe6022eb000051a93d0