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: clean up completed subscription state
- fix(infinite): prevent StrictMode double-invocation from overwriting initialSize
- fix: skip isLoading when fallback data is available
- fix: track window focus for refreshWhenHidden during OS-level window switches
- fix: useSWRMutation isMutating never shows true when called inside <form action>
- fix: release the correct listener set when initCache is re-entered under StrictMode
- Return keyed fallback under keepPreviousData when current key has no cached data
- fix(subscription): delete stale Map entries on last-subscriber teardown
- fix: clear matching preloads on wildcard mutate
- fix(types): allow null as fetcher in PublicConfiguration
- Docs
- TypeScript not yet supported