re: Introduction to SWR VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hey, thanks for this article. I've heard about SWR, but haven't used it yet. But from what I see, it's a simple hook to replace useState and useE...
 

Yes, it's client-side only, it does more things internally, like revalidate when the browser tab is focused again and more feature I'm planning to write more soon.

There is a way to do SSR too, it's something I plan to write about too.

 

Oh, so it is more to it than it looks, nice.

I'll be waiting on a follow-up article then, thanks! :)

code of conduct - report abuse