dillon1000/react

Commit

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.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactServerRendering-test.js ModifiedM packages/react-dom/src/server/ReactDOMLegacyServerNodeStream.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…