Skip to content

Commit 325c34d

Browse files
authored
Merge pull request verekia#169 from goldylucks/patch-1
Update 06-react-router-ssr-helmet.md
2 parents 8329f6e + 742e444 commit 325c34d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorial/06-react-router-ssr-helmet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ const renderApp = (/* [...] */) => {
458458
}
459459
```
460460
461-
React Helmet uses [react-side-effect](https://github.com/gaearon/react-side-effect)'s `rewind` to pull out some data from the rendering of our app, which will soon contain some `<Helmet />` components. Those `<Helmet />` components are where we set the `title` and other `head` details for each page.
461+
React Helmet uses [react-side-effect](https://github.com/gaearon/react-side-effect)'s `rewind` to pull out some data from the rendering of our app, which will soon contain some `<Helmet />` components. Those `<Helmet />` components are where we set the `title` and other `head` details for each page. Note that `Helmet.rewind()` *must* come after `ReactDOMServer.renderToString()`.
462462
463463
- Edit `src/shared/app.jsx` like so:
464464

0 commit comments

Comments
 (0)