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
I'm getting the following error at the time of SSR.
TypeError: Cannot read property 'store' of undefined
at Object.children (/home/manvendra/Desktop/projects/my-app/node_modules/redux-connect/lib/components/AsyncConnect.js:160:35)
I'm using following version of packages
"react-redux": "7.1.0",
"redux-connect": "9.0.0",
"redux": "4.0.1",
"redux-actions": "2.6.5",
"react-router": "4.3.1",
"react-router-config": "4.4.0-beta.6",
"react-router-dom": "4.3.1",
I tried it with Router v5, but that has its own problem like can't call withRouter without a Router.
TypeError: Cannot read property 'store' of undefined
at Object.children (/home/manvendra/Desktop/projects/my-app/node_modules/redux-connect/lib/components/AsyncConnect.js:160:35)
at e.children [as render] (/home/manvendra/Desktop/projects/my-app/assets/server/webpack:/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:44:58)
at e.render [as read] (/home/manvendra/Desktop/projects/my-app/assets/server/webpack:/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:50)
at read (/home/manvendra/Desktop/projects/my-app/assets/server/webpack:/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:53:74)
at renderToString (/home/manvendra/Desktop/projects/my-app/assets/server/webpack:/server/Document.js:56:19)
at f (/home/manvendra/Desktop/projects/my-app/assets/server/webpack:/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:33:498)
at c (/home/manvendra/Desktop/projects/my-app/assets/server/webpack:/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:1)
at e.Sa [as render] (/home/manvendra/Desktop/projects/my-app/assets/server/webpack:/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:465)
at e.render [as read] (/home/manvendra/Desktop/projects/my-app/assets/server/webpack:/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:50)
at read (/home/manvendra/Desktop/projects/my-app/assets/server/webpack:/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:53:74)
The text was updated successfully, but these errors were encountered:
Hello,
I'm getting the following error at the time of SSR.
I'm using following version of packages
"react-redux": "7.1.0",
"redux-connect": "9.0.0",
"redux": "4.0.1",
"redux-actions": "2.6.5",
"react-router": "4.3.1",
"react-router-config": "4.4.0-beta.6",
"react-router-dom": "4.3.1",
I tried it with Router v5, but that has its own problem like
can't call withRouter without a Router
.Could you please suggest what is the problem?
Here is my code also.
Here is the full stack trace for more clarity
The text was updated successfully, but these errors were encountered: