swr
https://github.com/vercel/swr
TypeScript
React Hooks for Data Fetching
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported2 Subscribers
Add a CodeTriage badge to swr
Help out
- Issues
- fix TriggerWithoutArgs Return Type on throwOnError: false
- chore: align pnpm-worskpace with existing packages
- chore(mutation): replace unused isValidating with isMutating in stateDependenciesRef
- chore: update vulnerable transitive dependencies in lockfile
- `preload()` with `suspense: true` fetches again on mount because the preloaded request is not registered for deduplication
- fix: dedupe the revalidation on mount after consuming a preload in suspense mode
- fix: discard errors from superseded revalidations
- docs: fix occured typo in error test titles
- fix: preserve provider request state across StrictMode effect replay
- fix: refetch when a mutation emptied the cache inside the deduping interval
- Docs
- TypeScript not yet supported