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