[HN Gopher] SWR 2.0 ___________________________________________________________________ SWR 2.0 Author : leerob Score : 29 points Date : 2022-12-09 21:29 UTC (1 hours ago) (HTM) web link (swr.vercel.app) (TXT) w3m dump (swr.vercel.app) | gherkinnn wrote: | Nice. We've been happy users of SWR. It just works and gets out | if your way. | leerob wrote: | Glad to hear it! Open to any feedback for things can improve, | as well. | LASR wrote: | SWR is a simple no-nonsense way to manage fetches and mutations | optimistically. I've used this in a couple of my projects. 2.0 | looks like a major QoL improvement. | emptysea wrote: | I think the big difference between react-query and its | competitors like SWR is typescript support. | | React-query has proper sum types for its hook's return value | theturtletalks wrote: | What's the future of SWR with the Next.js 13 App directory? Delba | mentioned the new App functionality will replace the need for SWR | in Next.js apps. | aidenn0 wrote: | That's a slightly high standing-wave ratio; they need to tune | their antenna better... ___________________________________________________________________ (page generated 2022-12-09 23:00 UTC)