Skip to content

Commit

Permalink
Refactor React Server entrypoint to not depend on the client one (#27940
Browse files Browse the repository at this point in the history
)

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 [f16344e](f16344e)
  • Loading branch information
acdlite committed Jan 17, 2024
1 parent 5832ad0 commit 0cd227f
Show file tree
Hide file tree
Showing 12 changed files with 4,849 additions and 5,131 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5d1b15a4f06fa93e76cd89f37ea5bfd62cc66183
f16344ea6db5bcc108de80dbc39a41ec28e8210d
Loading

0 comments on commit 0cd227f

Please sign in to comment.