Skip to content

Commit bf90846

Browse files
authored
Update 06-react-router-ssr-helmet.md
I'm following the tutorial by coding everything by hand from memory, and I didn't know the order was relevant here. Here's 15 minutes I'll never see again ;)
1 parent 8329f6e commit bf90846

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
@@ -442,7 +442,7 @@ import Helmet from 'react-helmet'
442442
const renderApp = (/* [...] */) => {
443443

444444
const appHtml = ReactDOMServer.renderToString(/* [...] */)
445-
const head = Helmet.rewind()
445+
const head = Helmet.rewind() // must come AFTER appHtml!
446446

447447
return (
448448
`<!doctype html>

0 commit comments

Comments
 (0)