You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use this in a functional component in react but i am getting this ERROR the second time First time nothing is happening !
what should i do
react-dom.development.js:86 Warning: You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it
The text was updated successfully, but these errors were encountered:
About this warning (You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before.), it seems to be caused by React's strict mode (index.js file), which mounts the component 2 times at a time to do checks. It would have no other consequences.
I want to use this in a functional component in react but i am getting this ERROR the second time First time nothing is happening !
what should i do
The text was updated successfully, but these errors were encountered: