Request stuck on "pending" status #1032
-
I have a certain SWR request that gets stuck on "pending" in the Network tab in Chrome console. Any reason why a specific request would get stuck on pending? Other SWR requests keep firing without any issue. The steps below outline the steps in more detail but I don't have much else to go on.
Any ideas on what would cause the request to get stuck on pending? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi, I told you not to call |
Beta Was this translation helpful? Give feedback.
Hi, I told you not to call
mutate
twice in a row. Not sure why but it seems to cause a undefined behavior. You know you can just omit the third argument of mutate (or set it to true) and it will update the data locally AND refetch it from the server.