mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: ## Context Right now, the ReactInstance construtor eagerly initializes native modules. ## Problem When these modules initialize, they may load other modules. But, all those loads will fail, because the react instance is in the process of being constructed. ## Changes Eagerly initialize modules after the react instance is created. That way, these native module requires work. Changelog: [Internal] Reviewed By: javache Differential Revision: D58537536 fbshipit-source-id: d0e424df708ec35b014f5cecda11e8756e8f4346