dillon1000/react

Commit

Remove public export for unstable-shared-subset.js (#23261)

The unstable-shared-subset.js file is not a public module — it's a
private module that the "react" package maps to when it's accessed from
the "react-server" package.

We originally added it because it was required to make our Rollup
configuration work, because at the time only "public" modules could act
as the entry point for a build artifact — that's why it's prefixed with
"unstable". We've since updated our Rollup config to support private
entry points, so we can remove the extra indirection.
Browse files
Changed paths7 files
First-parent comparison
A packages/react/npm/react.shared-subset.js AddedD packages/react/npm/unstable-shared-subset.js DeletedM packages/react/package.json ModifiedR packages/react/unstable-shared-subset.experimental.js →packages/react/src/ReactSharedSubset.experimental.js RenamedR packages/react/unstable-shared-subset.js →packages/react/src/ReactSharedSubset.js RenamedM scripts/rollup/bundles.js ModifiedM scripts/rollup/forks.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…