trpc-sveltekit icon indicating copy to clipboard operation
trpc-sveltekit copied to clipboard

Any plans for a TanStack Query wrapper in the future?

Open austins opened this issue 2 years ago • 1 comments

There's Svelte Query and React Query, now named TanStack Query, which will have a Svelte adapter in the future. The benefits of having a data-fetching library include implementations of caching, deduping multiple requests into a single request, infinite pagination, and observation of mutations that allow refetch on interval, mount, reconnect, window focus, etc.

Are there plans to create a thin wrapper over TanStack Query similar to @trpc/react in the future once they have that adapter? Asking in case someone else already implemented something or has plans.

austins avatar Aug 06 '22 08:08 austins

That would be interesting, I'll have a look at it. Feel free to contribute if you have an idea on how to implement this.

icflorescu avatar Aug 13 '22 10:08 icflorescu