dillon1000/react
Commit
Browse files [DOM] Add unstable_batchedUpdates to server-rendering-stub (#27028)
`unstable_batchedUpdates` shouldn't really be called on the server but the semantics are clear enough and we can provide a trivial implementation that calls the provided callback so we are adding it to the server-rendering-stub. This means we will also keep it around when we make the top level react-dom exports match the server-rendering-stub in the next major
Changed paths3 files
First-parent comparisonpackages/react-dom/server-rendering-stub.js ModifiedM packages/react-dom/src/__tests__/react-dom-server-rendering-stub-test.js ModifiedM packages/react-dom/src/server/ReactDOMServerRenderingStub.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…