TanStack Query
A powerful library for asynchronous state management and server-state utilities with data fetching capabilities for web applications, supporting TS/JS, React Query, Solid Query, Svelte Query, and Vue Query.
There are 4 open-source alternatives to SWR in this directory. The most popular is TanStack Query with 44.2k GitHub stars, followed by useHooks-ts(7.8k stars). All are open source, free to use, and many can be self-hosted.
| # | Tool | Stars | Language | License |
|---|---|---|---|---|
| 1 | TanStack Query A powerful library for asynchronous state management and server-state utilities with data fetching capabilities for web applications, supporting TS/JS, React Query, Solid Query, Svelte Query, and Vue Query. | 44.2k | TypeScript | MIT License |
| 2 | useHooks-ts A ready-to-use React hook library, written in TypeScript, to simplify your React development and enhance your productivity. | 7.8k | TypeScript | MIT License |
| 3 | Suspend-react A library providing async/await capabilities for React components, streamlining asynchronous operations in your React applications. | 1.4k | TypeScript | MIT License |
| 4 | React-promise-suspense A lightweight React hook for resolving promises with Suspense support, under 1kb in bundle size. | 164 | TypeScript | MIT License |
A powerful library for asynchronous state management and server-state utilities with data fetching capabilities for web applications, supporting TS/JS, React Query, Solid Query, Svelte Query, and Vue Query.
A ready-to-use React hook library, written in TypeScript, to simplify your React development and enhance your productivity.
A library providing async/await capabilities for React components, streamlining asynchronous operations in your React applications.
A lightweight React hook for resolving promises with Suspense support, under 1kb in bundle size.
The top three are TanStack Query(44.2k stars), useHooks-ts(7.8k stars), Suspend-react(1.4k stars). All are open source and free to use.
Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.
Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.
Get notified about new tools and updates to existing ones.