-
Notifications
You must be signed in to change notification settings - Fork 660
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
Warning 'UNSAFE_componentWillMount', How to fix the problem? #694
Comments
How to fix the warning without removing <React.StrictMode>?? |
I had the same problem, and since I needed to reference the script script in the component, I had a hard time deciding. |
Do not use this package if you use a relatively modern react version (16+). Use |
Duplicate from #548 |
Warning facing whine I am using react-helmet.
Warnings ->
`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
Please update the following components: SideEffect(NullComponent)`
The text was updated successfully, but these errors were encountered: