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
But this code devtool will prompt a warning, I want to know what went wrong
Warning: Cannot update a component (`ComponentProvider`) while rendering a different component (`Unknown`). To locate the bad setState() call inside `Unknown`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to build the useIsFetching hook to track if swr is sending a request, it looks something like this
But this code devtool will prompt a warning, I want to know what went wrong
Beta Was this translation helpful? Give feedback.
All reactions