Javascript – How to start a call with swr at the click of a button in NextJs?
I trying to use useSWR at the click of the button. I would that the at the click of the button the API call with useSWR will start, but I get the error. The error is this : Error: Invalid…