rtk-query for svelte toolkit/rtk-query/svelte
#2027
FaberVitale
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
There's already https://github.com/SaulMoro/ngrx-rtk-query (and https://github.com/wobsoriano/vue-rtk-query ), so yeah, there's precedent of wrapping RTKQ for other frameworks. |
Beta Was this translation helpful? Give feedback.
3 replies
-
I'd love to see this. I just discovered how well Redux Toolkit works with Svelte with not that much boilerplate. But Svelte-like hooks would be absolutely brilliant. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been thinking about a rtk-query for svelte, basically like
packages/toolkit/rkt-query/react
but for svelte.I've taken a look at the svelte example https://redux-toolkit.js.org/rtk-query/usage/examples#svelte and is, imo, a bit too cumbersome compared to the custom react hooks.
I think that's doable, see https://github.com/SvelteStack/svelte-query, but is obviously not a small task.
What do you think? Feedback? Ideas?
Beta Was this translation helpful? Give feedback.
All reactions