svelte-query
I am integrating sevlte query to an app with svelte/sveltekit. Should I use @sveltestack/svelte-query or @tanstack/svelte-query? I guess the 1st one is older, but it has good documentation. The latter is very sparsely documented, and there are things I still can't do because of it. I would really appreciate help with that.
2 Replies
exotic-emeraldā¢3y ago
Hi š
The latter is the official package name as far as I can see. It's also referenced in the documentation here: https://tanstack.com/query/latest/docs/svelte/overview
conscious-sapphireOPā¢3y ago
Yes, that's the one with very little documentation, compared to the previous version. And it has big changes, like instead of useQuery, createQuery is used. And I can't use it well because I don't know how things should be done. Thanks anyway
š¦