Replies: 1 comment
-
I got a solution that, there is was a memory leak issue and using cleanup function in useEffect solved the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have below code for fetching data from the server,
This works perfectly fine until there are no errors.
Then I added one more SWR in the same component,
Now second SWR throw error and then after first SWR does not run again. It run axios call, but
tableDataExpenses
never returned any data,What is going wrong with this?
How to re-run first SWR call again?
Beta Was this translation helpful? Give feedback.
All reactions