Show HN: XSWR – The simplest React data (re)fetching library ever made
https://github.com/hazae41/xswr
Hey there, I made a new library for React data fetching.XSWR is very inspired from SWR (which stands for "Stale While Revalidate").In fact, it's a side project I made to fill in the gaps of SWR, that ended up production-ready.XSWR uses two new approaches compared to other data fetching libraries like swr or react-query:- Encapsulating key, fetcher and resource type in a single abstraction...