userSWR() with Static Export NextJS
The useSWR hook is a very useful tool for state management and cache control in React applications that make requests to external APIs. Developed by the Zeit team, useSWR is one of the most popular packages in the React ecosystem.
useSWR uses data ca...
phantodev.hashnode.dev2 min read