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 just did a create react app and recieves the react strict mode <React.StrictMode> around my App.
If i just add a simple route that uses getData, or anything withData like that, it ends up running that data function twice.
I removed all context and everything but the sinner was <React.StrictMode>
So I guess it is reproducible by just running CRA cli and adding navi to the mix, one with a route that wants to get data
Sorry for not being able to make on right now, just running out of time here, but wanted to leave this breadcrumb of information
The text was updated successfully, but these errors were encountered:
I just did a create react app and recieves the react strict mode
<React.StrictMode>
around my App.If i just add a simple route that uses getData, or anything withData like that, it ends up running that data function twice.
I removed all context and everything but the sinner was
<React.StrictMode>
So I guess it is reproducible by just running CRA cli and adding navi to the mix, one with a route that wants to get data
Sorry for not being able to make on right now, just running out of time here, but wanted to leave this breadcrumb of information
The text was updated successfully, but these errors were encountered: