Next.js Discord

Discord Forum

mutate() swr cause "RangeError: Maximum call stack size exceeded"

Unanswered
Montezuma Quail posted this in #help-forum
Open in Discord
Montezuma QuailOP
I have a button that send request POST to API then I call mutate() when request done. but its cause error

below is my code for onClick function and swr fetching

0 Replies