Commit 845c10a
committed
Refactor React Server entrypoint to not depend on the client one (#27940)
This refactors the Server Components entrypoint for the `react` package
(ReactServer.js) so that it doesn't depend on the client entrypoint
(React.js). I also renamed React.js to ReactClient.js to make the
separation clearer.
This structure will make it easier to add client-only and server-only
features.
DiffTrain build for commit f16344e.1 parent e16614f commit 845c10a
File tree
7 files changed
+1403
-1402
lines changed- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
7 files changed
+1403
-1402
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25540 | 25540 | | |
25541 | 25541 | | |
25542 | 25542 | | |
25543 | | - | |
| 25543 | + | |
25544 | 25544 | | |
25545 | 25545 | | |
25546 | 25546 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9122 | 9122 | | |
9123 | 9123 | | |
9124 | 9124 | | |
9125 | | - | |
| 9125 | + | |
9126 | 9126 | | |
9127 | 9127 | | |
9128 | 9128 | | |
| |||
9153 | 9153 | | |
9154 | 9154 | | |
9155 | 9155 | | |
9156 | | - | |
| 9156 | + | |
9157 | 9157 | | |
9158 | 9158 | | |
9159 | 9159 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9550 | 9550 | | |
9551 | 9551 | | |
9552 | 9552 | | |
9553 | | - | |
| 9553 | + | |
9554 | 9554 | | |
9555 | 9555 | | |
9556 | 9556 | | |
| |||
9581 | 9581 | | |
9582 | 9582 | | |
9583 | 9583 | | |
9584 | | - | |
| 9584 | + | |
9585 | 9585 | | |
9586 | 9586 | | |
9587 | 9587 | | |
| |||
0 commit comments