Skip to content

Commit c51258b

Browse files
aaronshafgaearon
authored andcommitted
recommend react-snap; react-snapshot isn't upgraded for React 16 (#3328)
1 parent 0f5deb6 commit c51258b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/template/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ If you use a Node server, you can even share the route matching logic between th
11561156

11571157
## Pre-Rendering into Static HTML Files
11581158

1159-
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.
1159+
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.
11601160

11611161
There are also opportunities to use this outside of static hosting, to take the pressure off the server when generating and caching routes.
11621162

0 commit comments

Comments
 (0)