-
Notifications
You must be signed in to change notification settings - Fork 104
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
sessionStorage not supported - used in reactjs #85
Comments
Hey, @mnemanja. Have u found any solution to this problem? |
You need either implement it in jsdom or switch from jsdom to real browser, like headless chrome. From readme:
Related #40 |
Jsdom issue won't be fixed, see #44 (comment). If this answers your question please close issue. Thanks |
Hi, It was on a project in my previous company a few months back. |
I'm using the sessionStorage in my
constructor
and that produces the error. I need it there or in thecomponentWillMount
lifecycle to be able to react on time.I need the
sessionStorage
in production. Can it be used withreact-snapshot
?The error that I'm getting is the following:
The text was updated successfully, but these errors were encountered: