Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Related to #301 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I can confirm it works if I use the react-query from https://github.com/specta-rs/rspc/pull/301/files (https://github.com/specta-rs/rspc/blob/fb2b14c41759e755336b815d284164f25f07f796/packages/react-query/src/index.tsx) - marking this as closed. Thank you! Sorry I didn't find #301 when I searched around |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using rspc, tauri2 and rspc-react. It works beautifully for both useQuery and useMutation, but if I try to use addSubscription I get:
I use it just like the useMutation in App.tsx:
Weirdly enough neither eslint or editor complains, it only fails on runtime.
useSubscriptions
withdata.pings
exists because if I write something none-existing likedata.not.pings
it complains. I can see it in my bindings:I'm initializing rspc like this in my main.tsx:
Package.json
I'm using a patched tauri.ts which I'm attaching here for reference. Any help would be greatly appreciated!
Regards,
Niklas
Beta Was this translation helpful? Give feedback.
All reactions