You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of React, ReactDOM/React Native, Redux, and React Redux are you using?
React:
ReactDOM/React Native:
Redux:
React Redux:
What is the current behavior?
Hi SSR is not working when I enable the redux in gatsby-config
{
resolve: `gatsby-plugin-react-redux-persist`,
options: {
// [required] - path to your createStore module
pathToCreateStoreModule: "./src/state/createStore",
// [optional] - options passed to `serialize-javascript`
// info: https://github.com/yahoo/serialize-javascript#options
// will be merged with these defaults:
serialize: {
space: 0,
// if `isJSON` is set to `false`, `eval` is used to deserialize redux state,
// otherwise `JSON.parse` is used
isJSON: true,
unsafe: false,
ignoreFunction: true,
},
// [optional] - if true will clean up after itself on the client, default:
cleanupOnClient: true,
// [optional] - name of key on `window` where serialized state will be stored, default:
windowKey: "__PRELOADED_STATE__",
},
},
What is the expected behavior?
SSR should work
Which browser and OS are affected by this issue?
No response
Did this work in previous versions of React Redux?
Yes
The text was updated successfully, but these errors were encountered:
What version of React, ReactDOM/React Native, Redux, and React Redux are you using?
What is the current behavior?
Hi SSR is not working when I enable the redux in gatsby-config
What is the expected behavior?
SSR should work
Which browser and OS are affected by this issue?
No response
Did this work in previous versions of React Redux?
The text was updated successfully, but these errors were encountered: