dillon1000/react
Commit
Browse files Deprecate `renderToStaticNodeStream` (#28872)
This commit adds warnings indicating that `renderToStaticNodeStream` will be removed in an upcoming React release. This API has been legacy, is not widely used (renderToStaticMarkup is more common) and has semantically eqiuvalent implementations with renderToReadableStream and renderToPipeableStream.
Changed paths2 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactServerRendering-test.js ModifiedM packages/react-dom/src/server/ReactDOMLegacyServerNodeStream.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…