dillon1000/react
Commit
Browse files [DOM] disallow client entrypoints with react-server condition (#28784)
`react-server` precludes loading code that expects to be run in a client context. This includes react-dom/client react-dom/server react-dom/unstable_testing react-dom/profiling and react-dom/static This update makes importing any of these client only entrypoints an error
Changed paths6 files
First-parent comparisonpackages/react-dom/npm/client.react-server.js AddedA packages/react-dom/npm/profiling.react-server.js AddedA packages/react-dom/npm/server.react-server.js AddedA packages/react-dom/npm/static.react-server.js AddedA packages/react-dom/npm/unstable_testing.react-server.js AddedM packages/react-dom/package.json ModifiedPatch
Files changed
Rendering syntax-highlighted changes…