react-query
react-query copied to clipboard
⚛️ ReScript bindings for React Query
## Description There are some breaking changes on the v4. This [migration guide](https://tanstack.com/query/v4/docs/guides/migrating-to-react-query-4) will be very helpful.
https://github.com/rescriptbr/react- query/blob/b202f20611c29316991bb0dbe439d8cb87f3c0b0/src/ReactQuery_Query.res#L22 The way it's typed now this option isn't usable, as you have to return the exact type that's passed in instead of transforming it. https://tanstack.com/query/v4/docs/framework/react/reference/useQuery
Would it be possible to pad out the examples with mutations and their callbacks? I've been wrestling `ReactQuery.useMutation({onSuccess: ...})` with `queryClient` (`getQueryData`, `setQueryData` etc) but failing to wrap my head...
- [x] Fixes wrong queryStatus types as in v5 - [x] Changed types of queryStatus from `type queryStatus = [#loading | #success | #error | #initialData]` to `type queryStatus =...
Hi team, can someone help me with the status for the bindings of following work in progress modules- We at @nammayatri are looking forward to use ReactQuery for one of...