dillon1000/react

Commit

add RSC entrypoint for jsx-runtime (#28217)

Adds a new entrypoint for the production jsx-runtime when using
react-server condition. Currently the entrypoints are the same but in
the future we will potentially change the implementation of the runtime
in ways that can only be optimized for react-server constraints and we
want to have the entrypoint already separated so environments using it
will be pulling in the right version
Browse files
Changed paths5 files
First-parent comparison
A packages/react/jsx-runtime.react-server.js AddedA packages/react/npm/jsx-runtime.react-server.js AddedM packages/react/package.json ModifiedA packages/react/src/jsx/ReactJSXServer.js AddedM scripts/rollup/bundles.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…