Skip to content

Commit 8ef7d2a

Browse files
committed
Match target element ID in server-rendered and client
- change id to 'root'
1 parent 6de14f4 commit 8ef7d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/recipes/ServerRendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function renderFullPage(html, initialState) {
107107
<title>Redux Universal Example</title>
108108
</head>
109109
<body>
110-
<div id="app">${html}</div>
110+
<div id="root">${html}</div>
111111
<script>
112112
window.__INITIAL_STATE__ = ${JSON.stringify(initialState)}
113113
</script>

0 commit comments

Comments
 (0)