dillon1000/react

Commit

Add ReactDOMNodeStream, adding streaming rendering. (#10024)

* Add ReactDOMNodeStream, adding ability to stream generated HTML.

* Forgot to rename a documentation page.

* Tests are passing locally but failing on CI; attempt to fix that with this tweak.

* Adding some debugging info to try to track down CI problem.

* More debugging of CI. Yay for printf debugging.

* More printf debugging of CI to figure out what is going on with includes during tests.

* I made a truly stupid error with my printf debugging statements for CI. Fixing that.

* And another dumb copy and paste typo.

* The node-stream.js stub for tests wasn't being added because of .gitignore.

* Fix for code review coment https://github.com/facebook/react/pull/10024#discussion_r123606138 . Thanks to @razh for helping me out.

* Removing all the console.logs I put in to debug the build problems on the CI server.

* Fix for code review coment https://github.com/facebook/react/pull/10024#discussion_r123628227 . Thanks to @aweary for the suggestion.

* Response to code review comment https://github.com/facebook/react/pull/10024#discussion_r123649131 . Thanks, @gaearon.

* Responding to code comments https://github.com/facebook/react/pull/10024#pullrequestreview-46104491 , https://github.com/facebook/react/pull/10024#pullrequestreview-46104616 , and https://github.com/facebook/react/pull/10024#pullrequestreview-46104822 . Thanks to @sebmarkbage for the help.

* Attempt to tweak spacing to see if it makes the prettier build step happy.

* Found a prettier bug that wasn't being reported by npm run prettier for some reason.

* Fixed a small prettier issue
Browse files
Changed paths14 files
First-parent comparison
M docs/_data/nav_docs.yml ModifiedA docs/docs/reference-react-dom-node-stream.md AddedA packages/react-dom/node-stream.js AddedM scripts/fiber/tests-passing.txt ModifiedM scripts/rollup/bundles.js ModifiedM scripts/rollup/results.json ModifiedA src/node_modules/react-dom/node-stream.js AddedM src/node_modules/react-dom/server.js ModifiedR src/renderers/dom/ReactDOMServerStreamEntry.js →src/renderers/dom/ReactDOMNodeStreamEntry.js RenamedA src/renderers/dom/ReactDOMNodeStreamRenderer.js AddedA src/renderers/dom/ReactDOMServerEntry.js AddedA src/renderers/dom/ReactDOMStringRenderer.js AddedM src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js ModifiedR src/renderers/shared/server/ReactServerRenderer.js →src/renderers/shared/server/ReactPartialRenderer.js Renamed
Patch

Files changed

Rendering syntax-highlighted changes…