Closed mathysd closed 6 years ago
If I remember correctly, you need to utilise asp-prerender
tag to create that object. It is used by server side rendering.
@tpetrina maybe you meant asp-prerender
tag? But asp-pretender
tag sounds cool too 😄
Thanks, I will have a look
The reactredux template creates an index.js file containing:
// Get the application-wide store instance, prepopulating with state from the server where available. const initialState = window.initialReduxState; const store = configureStore(history, initialState);
What options do I have to initialize this initial state?