React Hooks for Data Fetching
-
Updated
Jul 8, 2022 - TypeScript
{{ message }}
React Hooks for Data Fetching
Add a cache layer for server-side-rendered pages with stale-while-revalidate. Can be considered as an implementation of next.js's Incremental Static Regeneration which works with getServerSideProps.
A sample Next.js app using Zeit's SWR React Hooks to make GraphQL Queries/Mutations/Subscriptions
My personal website built with Next.js, Chakra UI, Firebase, and next-mdx-remeote.
网易云音乐移动端【React/Next/Vue】【Ant Design/Material UI】
Synchronize SWR cache with localStorage or sessionStorage to get offline cache
A GraphQL code generator plug-in that automatically generates utility functions for SWR.
Step by step tutorial Ethereum React and SWR
Add storybook to all components and pages on the front-end
Webev is OSS of bookmark manager that improves the organization of information.
Little function to call mutate against multiple cached keys of SWR
Find public APIs, powered by api(dot)publicapis(dot)org
A re-concept of Paypal focused on financial transactions management - Built with React.js, Styled Components, and SWR
Stale While Revalidated Resources — keeps data fast
A https://github.com/supabase/supabase-js client to use whit https://github.com/vercel/swr
A Next.js based template of a blog built using the Collected Notes API
SWR is a React Hook library for remote data fetching. Here are some simple examples.
Add a description, image, and links to the swr topic page so that developers can more easily learn about it.
To associate your repository with the swr topic, visit your repo's landing page and select "manage topics."
Could you please update the swr example adjusted to the new 1.x API where it no longer exports
cache?Thanks!