Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: facebook/react
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6f18664b82b61d34b30c794a151d7b032f8eabe0
Choose a base ref
...
head repository: facebook/react
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 223ea80f563c4f23cee1b8ada8eae01b5ae1686b
Choose a head ref
  • 2 commits
  • 51 files changed
  • 1 contributor

Commits on Apr 24, 2024

  1. Move client only exports to react-dom/client

    This change updates the entrypoints for `react-dom` to only include exports which make sense in every runtime (Flight, Fizz, and Fiber). The main benefit to doing this is we stop including the entire client build when importing anything from `react-dom`. The server-rendering-stub was added as a manual way of doing this prior to the next major and now that stub simply reexports from `react-dom`. In a future major we will remove the stub altogether.
    
    This change affects the OSS channels but does not update how the meta entrypoints are organized
    gnoff committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    4ac97cc View commit details
    Browse the repository at this point in the history
  2. Now that react-dom/client is a separate build there are additional in…

    …ternal module boundaries that get picked up by devtoools timeline testing. This udpates snapshots to reflect this expected change.
    gnoff committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    223ea80 View commit details
    Browse the repository at this point in the history
Loading