-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve reusability for RCTRootViewFactory (#43528)
Summary: RCTRootViewFactory is a great work for creating react binding view. we want to reuse the factory inside expo and would be good to have these improvements. - exposing `reactHost` property so that we can update the RCTHost instance without recreate a factory. - break bridgeless creation logic to a specific `createReactHost`, so that we can reuse the method for RCTHost creation ## Changelog: [IOS][CHANGED] - Improve reusability for RCTRootViewFactory Pull Request resolved: #43528 Test Plan: this pr should not introduce any regression and getting all ci passed Reviewed By: cortinico Differential Revision: D56056103 Pulled By: cipolleschi fbshipit-source-id: 9f312707b9013c36863945c9b99a697f949f10b5
- Loading branch information
1 parent
c9b3a31
commit 23709f7
Showing
2 changed files
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters