dioxus-query 🦀⚡
Fully-typed, async, reusable cached state management for Dioxus 🧬. Inspired by TanStack Query.
See the Docs or join the Discord.
Support
Features
- Renderer-agnostic
- Queries and Mutations
- Fully typed, no type erasing
- Invalidate queries manually
- Invalidate queries on equality change
- Concurrent execution of queries
- Background interval re-execution of queries
- Opt-in in-memory cache of queries results
- Works with ReactiveContext-powered hooks like
use_effectoruse_memo - On window/tab focus invalidation
Installation
Install the latest release:
Example
Run manually:
Code:
;
;
To Do
- Tests
- Improved documentation
- Real-world examples
MIT License