diff --git a/docs/_data/nav_docs.yml b/docs/_data/nav_docs.yml index b133b36186d29..1a015d253d0c5 100644 --- a/docs/_data/nav_docs.yml +++ b/docs/_data/nav_docs.yml @@ -63,6 +63,8 @@ title: ReactDOM - id: react-dom-server title: ReactDOMServer + - id: react-dom-node-stream + title: ReactDOMNodeStream - id: dom-elements title: DOM Elements - id: events diff --git a/docs/docs/reference-react-dom-node-stream.md b/docs/docs/reference-react-dom-node-stream.md new file mode 100644 index 0000000000000..23cbb670cd72d --- /dev/null +++ b/docs/docs/reference-react-dom-node-stream.md @@ -0,0 +1,42 @@ +--- +id: react-dom-node-stream +title: ReactDOMNodeStream +layout: docs +category: Reference +permalink: docs/react-dom-node-stream.html +--- + +If you use ES6 with npm, you can write `import ReactDOMNodeStream from 'react-dom/node-stream'`. If you use ES5 with npm, you can write `var ReactDOMNodeStream = require('react-dom/node-stream')`. + +Unlike other packages in React, `ReactDOMNodeStream` depends on a package (`stream`) that is available in Node.js but not in the browser. For this reason, there is no `