mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
48421df60a
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45795 Changelog: [internal] Our modules to set up the runtime have side-effects and depend on import order to work correctly. This is error-prone and complicates the migration to ESM in some cases, so this refactors all of them in `src/private/setup` to export a function instead. Reviewed By: rshest Differential Revision: D60382506 fbshipit-source-id: 9ac30b29659b74605d59eb97562d6cbf01f48e47