Skip to content

Commit

Permalink
Merge pull request verekia#169 from goldylucks/patch-1
Browse files Browse the repository at this point in the history
Update 06-react-router-ssr-helmet.md
  • Loading branch information
verekia authored Mar 20, 2017
2 parents 8329f6e + 742e444 commit 325c34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial/06-react-router-ssr-helmet.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ const renderApp = (/* [...] */) => {
}
```
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.
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()`.
- Edit `src/shared/app.jsx` like so:
Expand Down

0 comments on commit 325c34d

Please sign in to comment.