@@ -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.