-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error at unmounting since upgrading to React 18 #1433
Comments
See: #1428 |
FWIW, even on version 18, the old |
Even if that quick fix would work the problem is still there. Also, I'm not using server side rendering.
Good point, forgot to mention that. |
I believe this issue is from react 18 side and it is being caused by There's a merged commit fixing this issue but not yet published. See: facebook/react#24308. Hopefully the fix works when published. |
18.1.0 is out so give it a try. |
I can't speak for @Cristi6 but I'm still seeing crashes with |
Upgrading to |
Note you need to update |
18.1.0 seems to have fixed this so I’ll close this for now. Thanks @gaearon for the heads up. If anyone can reproduce it with |
Current Behavior
Whenever I navigate from a page that renders ReactPlayer the application crashes.
I get the following error:
Expected Behavior
I would expect not to crash, just as before upgrading to React 18.
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: