Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSR developing with redux modal - window is not defined #5

Closed
YasiruDev opened this issue Jan 10, 2019 · 2 comments
Closed

SSR developing with redux modal - window is not defined #5

YasiruDev opened this issue Jan 10, 2019 · 2 comments
Assignees

Comments

@YasiruDev
Copy link

YasiruDev commented Jan 10, 2019

I'm developing server side rendered react App.I'm using redux modal for sign up.
i'm getting below error.

/home/xx/Documents/Projects/..../node_modules/redux-reactstrap-modal/build/redux.reactstrap.modal.js:10 })(window, function(WEBPACK_EXTERNAL_MODULE__0, WEBPACK_EXTERNAL_MODULE__1, WEBPACK_EXTERNAL_MODULE__2, WEBPACK_EXTERNAL_MODULE__3, WEBPACK_EXTERNAL_MODULE__4, WEBPACK_EXTERNAL_MODULE__5) { ^

ReferenceError: window is not defined at Object. (/home/home/xx/Documents/Projects/..../node_modules/redux-reactstrap-modal/build/redux.reactstrap.modal.js:10:4)

https://stackoverflow.com/questions/54086516/redux-reactstrap-modal-window-is-not-defined-in-ssr

@anis-campos anis-campos self-assigned this Apr 10, 2019
@anis-campos anis-campos reopened this Apr 10, 2019
@anis-campos anis-campos added this to the v2.x.x milestone Apr 10, 2019
@anis-campos anis-campos removed this from the v2.x.x milestone Apr 11, 2019
@anis-campos
Copy link
Owner

Fixed by #8

@anis-campos
Copy link
Owner

Fix is deployed on v2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants