用于数据获取的 React Hooks
swr 开源项目推荐(1,171 个)
swr 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 1,171 个仓库Stale-while-revalidate data fetching for Vue
Vue 的智能数据获取层
将 API 规范转化为类型安全的代码。可从 OpenAPI 等规范生成 TypeScript 类型、API 客户端、Hooks、校验器和模拟数据。
⚡️ This is a library that can easily help you manage request states, supporting common features such as SWR, polling, error retry, caching, and pagination, etc. ⚡️这是一个能够轻松帮助你管理请求状态的库,支持 SWR,轮询,错误重试,缓存,分页等常用功能.
使用 Cloud Firestore 和 Storage,基于 Next.js + TypeScript + Tailwind CSS 构建的 Twitter 克隆
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.
CSR 案例研究。
采用 Fluent Design 的 MongoDB GUI
数据取材库(react-query、vue-query、trpc、swr、rtk-query 等)的自动归一化和数据更新
🔥 Personal website & portfolio, built from scratch using Next.js, TypeScript, Tailwind CSS, SWR, MDX, Firebase and Prisma.
Svelte 的过期时重新验证(SWR)数据获取策略
Pocache 是一个极简缓存包,专注于抢占式乐观缓存策略
A DevTool for SWR
🥬 OpenAPI to React Query (or SWR) & Axios
My personal website built with Next.js, Chakra UI, Firebase, and next-mdx-remeote.
Interactive git cheatsheet for quickly searching through commonly used commands with examples
A sample Next.js app using Zeit's SWR React Hooks to make GraphQL Queries/Mutations/Subscriptions
Keep your data fresh
🧬 Run side-effects safely in React
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/swr。
- 该话题在 GitHub 上共有 1,171 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 4.6 万 Star,覆盖 3 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。