-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue Query Support #429
Comments
hey @cpannwitz, thanks for opening the issue! I would love to add vue support, but I have never worked with it. if you support we can make it happen! It would be a lot of help if you could add a new "empty" package, and maybe try to implement it from how the react-query package works. if you are lost at some point, I will jump in and try to help. |
Hey @psteinroe , started the integration here: https://github.com/cpannwitz/supabase-cache-helpers/tree/feature/add-vue-query-package First thing I noticed is that the Also I've encountered some type mismatches in the mutate hooks (eg. use-delete-mutation). Above all, I'm VERY unexperienced with the PNPM / Workspace workflow and all the tooling around your lib. Would like to get some guidance from you :) |
hey @cpannwitz, awesome!
I went through the cue-query code and it seems like it just has a different name: https://github.com/TanStack/query/blob/4d37cfc733744501b0b4423c721cc038206994e8/packages/vue-query/src/useQuery.ts#L82-L85
can you specify what mismatch?
sure! so far your setup looks good. how are vue libraries built? I thought it requires vite? |
Ah, thanks, I guess that works. Still, the return type of the There are some mismatches caused by different return types of the Hmm, I don't really know, as I'm actually a React dev thrown into the Vue world. |
@psteinroe So far I've managed to add packages
|
Short update: managed to convert all tests (did not run them yet). |
Sorry for the delayed reply. I am s bit busy right now, but will try to look into this next week. 🙏🏼 |
Thanks, I'm also back from vaycay |
hey @cpannwitz, can you open a pr against this repo? makes it easier to review and also to checkout the code. will take a look at the (admittedly weird) type error and run tests etc! |
Hey, I'd like to ask if support for
vue-query
would be possible?I've already seen the other request for Svelte (#186 )
Would also like to help with development. :)
The text was updated successfully, but these errors were encountered: