You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -328,6 +328,7 @@
328
328
|312|[Describe about data flow in react?](#describe-about-data-flow-in-react)|
329
329
|313|[What is react scripts?](#what-is-react-scripts)|
330
330
|314|[What are the features of create react app?](#what-are-the-features-of-create-react-app)|
331
+
|315|[What is the purpose of renderToNodeStream method?](#what-is-the-purpose-of-rendertonodestream-method)|
331
332
332
333
## Core React
333
334
@@ -5152,3 +5153,6 @@
5152
5153
5. A build script to bundle JS, CSS, and images for production, with hashes and sourcemaps
5153
5154
6. An offline-first service worker and a web app manifest, meeting all the Progressive Web App criteria.
5154
5155
5156
+
315. ### What is the purpose of renderToNodeStream method?
5157
+
The `ReactDOMServer#renderToNodeStream` method is used to generate HTML on the server and send the markup down on the initial request for faster page loads. It also helps search engines to crawl your pages easily for SEO purposes.
5158
+
**Note:** Remember this method is not available in the browser but only server.
0 commit comments