Crate dioxus_hooks
source · [−]Expand description
Useful foundational hooks for Dioxus
Structs
The receiving end of an unbounded mpsc channel.
The transmission end of an unbounded mpsc channel.
Enums
Traits
Functions
This hook provides some relatively light ergonomics around shared state.
Provide some state for components down the hierarchy to consume without having to drill props.
Maintain a handle over a future that can be paused, resumed, and canceled.
Get a handle to a coroutine higher in the tree
A hook that provides a future that executes after the hooks have been applied
A future that resolves to a value.
use_ref is a key foundational hook for storing state in Dioxus.
Store state between component renders.