Installation //
Getting Started //
Supported Features //
ReScript Brazil Community
Install the package using npm/yarn:
yarn add @rescriptbr/react-query
Add the package to bs-dependencies
in your bsconfig.json
:
{
"bs-dependencies": [
"@rescript/react",
"@rescriptbr/react-query"
]
}
These bindings are work in progress, check out the supported features:
- ✅
=
Fully implemented - ⬜
=
Not implemented yet - ⚙️
=
Work in progress ⚠️ =
Partially implemented
- ✅ useQuery
- ✅ useQueries
- ✅ useMutation
- ✅ useInfiniteQuery
- ✅ useQueryClient
- ✅ useQueryErrorResetBoundary
- ✅ useIsFetching
- ✅ useIsMutating
- ✅ QueryClientProvider
- ⚙️ QueryClient
- ⚙️ QueryCache
- ⚙️ MutationCache
- ⚙️ QueryObserver
- ⚙️ InfiniteQueryObserver
- ⚙️ QueriesObserver
- ⚙️ QueryErrorResetBoundary
- ⬜ focusManager
- ⬜ onlineManager
- ⬜ setLogger
- ⬜ hydration/Hydrate
- ⬜ hydration/useHydrate
- ⬜ hydration/hydrate
- ⬜ hydration/dehydrate
MIT