-
Notifications
You must be signed in to change notification settings - Fork 160
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
Warnings in react-hotkeys when using React's strict mode #128
Comments
greena13
added a commit
that referenced
this issue
Jan 6, 2019
This will be fixed in v2.0.0-pre1 when it's released. |
Many thanks! |
I'm using v2.0.0-pre4 I'm still getting this warning:
|
Hi @ndelangen, thanks for making me aware. I have created a separate issue to track this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
React 16.3 added a new strict mode, which highlights potential issues in an app (such as those that will cause problems when using the upcoming async mode):
https://reactjs.org/docs/strict-mode.html
Enabling it for our app resulted in several errors coming from
react-hotkeys
:-> see: https://reactjs.org/docs/strict-mode.html#identifying-unsafe-lifecycles
-> see: https://reactjs.org/docs/strict-mode.html#detecting-legacy-context-api
-> see: https://reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage
Many thanks :-)
The text was updated successfully, but these errors were encountered: