Commit c51258b8 authored by Aaron Shafovaloff's avatar Aaron Shafovaloff Committed by Dan Abramov
Browse files

recommend react-snap; react-snapshot isn't upgraded for React 16 (#3328)

parent 0f5deb6a
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 1 addition and 1 deletion
+1 -1
...@@ -1156,7 +1156,7 @@ If you use a Node server, you can even share the route matching logic between th ...@@ -1156,7 +1156,7 @@ If you use a Node server, you can even share the route matching logic between th
## Pre-Rendering into Static HTML Files ## Pre-Rendering into Static HTML Files
If you’re hosting your `build` with a static hosting provider you can use [react-snapshot](https://www.npmjs.com/package/react-snapshot) to generate HTML pages for each route, or relative link, in your application. These pages will then seamlessly become active, or “hydrated”, when the JavaScript bundle has loaded. If you’re hosting your `build` with a static hosting provider you can use [react-snapshot](https://www.npmjs.com/package/react-snapshot) or [react-snap](https://github.com/stereobooster/react-snap) to generate HTML pages for each route, or relative link, in your application. These pages will then seamlessly become active, or “hydrated”, when the JavaScript bundle has loaded.
There are also opportunities to use this outside of static hosting, to take the pressure off the server when generating and caching routes. There are also opportunities to use this outside of static hosting, to take the pressure off the server when generating and caching routes.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment