Move BridgelessDevSupportManager inside .devsupport#46914
Move BridgelessDevSupportManager inside .devsupport#46914cortinico wants to merge 1 commit intofacebook:mainfrom
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D64105790 |
|
cc @alanjhughes |
6d83959 to
f236a98
Compare
|
This pull request was exported from Phabricator. Differential Revision: D64105790 |
f236a98 to
e543237
Compare
|
This pull request was exported from Phabricator. Differential Revision: D64105790 |
|
This pull request was exported from Phabricator. Differential Revision: D64105790 |
e543237 to
cdb61bb
Compare
|
This pull request was exported from Phabricator. Differential Revision: D64105790 |
cdb61bb to
61ed65a
Compare
61ed65a to
7a18e05
Compare
|
This pull request was exported from Phabricator. Differential Revision: D64105790 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D64105790 |
7a18e05 to
fca38a4
Compare
Summary: Pull Request resolved: facebook#46914 The `BridgelessDevSupportManager` should have lived inside the `.devsupport` package alongside all the other devsupport related tooling. It was instead created inside `.runtime` causing a tight coupling with `ReactHostImpl`. This made it impossible for Frameworks to customize it (i.e. in Expo GO) also because there was a circular dependency between ReactHostImpl and BridgelessDevSupportManager In this diff I'm: 1. Breaking the circular dependency by using `ReactHostDevHelper` 2. Updating all the parameters to reference `ReactHost` rather than `ReactHostImpl` 3. Moving BridgelessDevSupportManager to the `.devsupport` package. This is breaking for users that are manually composing a `BridgelessDevSupportManager` or that are extending the `ReactInstanceDevHelper`. - `ReactInstanceDevHelper` has 3 new method which will have to be implemented. - `BridgelessDevSupportManager` is now living in a different package. Changelog: [Android] [Breaking] - Add 3 methods to ReactInstanceDevHelper Reviewed By: rshest Differential Revision: D64105790
fca38a4 to
71b07df
Compare
|
This pull request was exported from Phabricator. Differential Revision: D64105790 |
|
This pull request has been merged in c867aba. |
|
This pull request was successfully merged by @cortinico in c867aba When will my fix make it into a release? | How to file a pick request? |
The
BridgelessDevSupportManagershould have lived inside the.devsupportpackage alongside all the otherdevsupport related tooling.
It was instead created inside
.runtimecausing a tight coupling withReactHostImpl.This made it impossible for Frameworks to customize it (i.e. in Expo GO) also because there was a circular
dependency between ReactHostImpl and BridgelessDevSupportManager
In this diff I'm:
ReactHostDevHelperReactHostrather thanReactHostImpl.devsupportpackage.This is breaking for users that are manually composing a
BridgelessDevSupportManagerorthat are extending the
ReactInstanceDevHelper.ReactInstanceDevHelperhas 3 new method which will have to be implemented.BridgelessDevSupportManageris now living in a different package.Changelog:
[Android] [Breaking] - Add 3 methods to ReactInstanceDevHelper
Reviewed By: rshest
Differential Revision: D64105790