Skip to content

Commit 7715442

Browse files
aaronshafgaearon
authored andcommittedOct 28, 2017
recommend react-snap; react-snapshot isn't upgraded for React 16 (facebook#3328)
1 parent c9ea562 commit 7715442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎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)