use-mutation icon indicating copy to clipboard operation
use-mutation copied to clipboard

Update SWR usage example to SWR v1

Open pke opened this issue 2 years ago • 2 comments

Could you please update the swr example adjusted to the new 1.x API where it no longer exports cache?

Thanks!

pke avatar Feb 21 '22 22:02 pke

I don't use SWR, or this lib, anymore, but feel free to send a PR updating the docs on how SWR works and I'll be happy to merge it

sergiodxa avatar Apr 08 '22 08:04 sergiodxa

@pke SWR v2 beta is out and now they have built in solution called useSWRMutation

isBatak avatar Apr 12 '22 09:04 isBatak