File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export default context => {
132
132
}
133
133
```
134
134
135
- ` template ` を使うと ` context.state ` は自動的に最終的な HTML に ` window.__INITIAL__ ` という形の状態として埋め込まれます。クライアントサイドでは、アプリケーションがマウントされる前に、ストアがその状態を取得します:
135
+ ` template ` を使うと ` context.state ` は自動的に最終的な HTML に ` window.__INITIAL_STATE__ ` という形の状態として埋め込まれます。クライアントサイドでは、アプリケーションがマウントされる前に、ストアがその状態を取得します:
136
136
137
137
``` js
138
138
// entry-client.js
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ export default context => {
174
174
}
175
175
```
176
176
177
- ` template ` を使うと ` context.state ` は自動的に最終的な HTML に ` window.__INITIAL__ ` という形の状態として埋め込まれます。クライアントサイドでは、アプリケーションがマウントされる前に、ストアがその状態を取得します:
177
+ ` template ` を使うと ` context.state ` は自動的に最終的な HTML に ` window.__INITIAL_STATE__ ` という形の状態として埋め込まれます。クライアントサイドでは、アプリケーションがマウントされる前に、ストアがその状態を取得します:
178
178
179
179
``` js
180
180
// entry-client.js
You can’t perform that action at this time.
0 commit comments