svelte-query
Performant and powerful remote data synchronization for Svelte (by SvelteStack)
sswr
🔥 Svelte stale while revalidate (SWR) data fetching strategy (by ConsoleTVs)
| svelte-query | sswr | |
|---|---|---|
| 15 | 2 | |
| 834 | 291 | |
| -0.1% | 0.0% | |
| 2.3 | 2.6 | |
| almost 3 years ago | 8 months ago | |
| TypeScript | TypeScript | |
| MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
svelte-query
Posts with mentions or reviews of svelte-query.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-08.
-
TanStack Query's Svelte adapter released!
Nice I was waiting for this! I'm using the old implementation: https://sveltequery.vercel.app/
-
When is Svelte Query coming out?
I'm aware there's another Svelte Query here but it seems like it is not maintained and will be incorporated into Tanstack Query.
-
What server-state-management / automatic-refetch library are you using with SvelteKit?
Until then I use Svelte Query
-
Some thoughts after a few months of working on Svelte projects in my spare time.
I like React Query so I would be excited to use this however it doesn't seem ready for Svelte given the docs "Coming Soon" and Svelte Query being relatively unmaintained.
-
Fetching Data in Svelte
Svelte Query :)
-
Wouldn't it be nice if {#await} blocks were compatible with RxJS Observables?
Or just use svelte-query and toss that observable junk to the side.
-
Switching from Svelte to SvelteKit
Exactly. That's the big thing I want to work on next. Not sure whether to use Svelte Query or manually cache the data. In an ideal scenario all the API calls are cached because if two users hit the site at the same time, for instance, there's no need to request the same data twice. This is getting to the edge of my skillset but psyched to try to learn this part.
-
My Favorite Tech Stack for 2022
That's it. Nothing highly sophisticated. It is mostly the tech I enjoy and I think is valuable in the future. There are also other libraries I really enjoy, like XState and React Query (there is also Svelte Query). Just to mention a few.
- Open Source contribution ideas for Svelte/SvelteKit
-
State of the Sveltejs Ecosystem?
Caching: svelte-query, sswr
sswr
Posts with mentions or reviews of sswr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-02.
-
Svelte(Kit) Top 10 Wishlist for 2023
This kind of goes with #3, but would but would be cool to have more caching options for the Server and Client like SWR. It would have to support things like optimistic updates, and keep me from over fetching. Should be easy to use. https://github.com/ConsoleTVs/sswr https://react-query-v3.tanstack.com/
-
State of the Sveltejs Ecosystem?
Caching: svelte-query, sswr
What are some alternatives?
When comparing svelte-query and sswr you can also consider the following projects:
htmx - </> htmx - high power tools for HTML
svelte-routing - A declarative Svelte routing library with SSR support
urql - The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
abaca - OpenAPI TypeScript SDK generator with strong type guarantees and minimal boilerplate
routify - Automated Svelte routes