-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
Uncaught TypeError: Cannot read property 'expirationTime' of undefined #14767
Comments
I am also not able to reproduce this in Code Sandbox nor in a create-react-app, so I suspect your package versions maybe aren't what you think they are? Can you delete |
I am going to close this issue for now since I'm unable to reproduce it. I'll re-open if further discussion provides a repro 👍 |
Yes, was about to close this as well, since I found the issue. For further reference or people stumbling upon this, update your Version |
Apparently |
I am seeing this issue and can reliably reproduce. My code is extremely similar to @JDansercoer's original post above ☝️ in that it's a function component which uses Versions Seeing the issue when running in Still exploring the issue and will report back here if I find anymore details that would be helpful. |
Share an actual (runnable) repro? Preferably a pointer to a Code Sandbox project. Alternatively a git repo. |
@bvaughn so I've resolved the issue by using this patched version of In any case this isn't an problem with |
I'm getting the same issue with https://docz.site and create react app 2 |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
App crashes
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
This is currently my only component, copied from the docs
However, my page crashes, and I get the following error
Unfortunately, I cannot reproduce it in codesandbox, so not sure what exactly I might be doing wrong?
What is the expected behavior?
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
16.8.0 (React & ReactDOM)
The text was updated successfully, but these errors were encountered: