Expand description
The uncomplicated Yew State management library.
Modules§
- helmet
helmet - A module to manipulate common tags under the
<head />element. - prelude
- Default Bounce exports.
- query
query - A module to provide helper states to facilitate data fetching.
Structs§
- Artifact
- A component to register an artifact.
- Artifact
Props - Properties of the
ArtifactComponent. - Bounce
Root - A
<BounceRoot />. - Bounce
Root Props - Properties for
BounceRoot. - Bounce
States - A type to access states under a bounce root.
- UseAtom
Handle - A handle returned by
use_atom. - UseSlice
Handle - A handle returned by
use_slice.
Enums§
- Deferred
- A deferred result type for future notions.
Traits§
- Clone
Atom - A trait to provide cloning on atoms.
- Clone
Slice - A trait to provide cloning on slices.
- Future
Notion - A trait to implement a
Future-backed notion. - Input
Selector - An auto-updating derived state, similar to
Selector, but with an input. - Observed
- A trait to be notified when the state value changes.
- Selector
- An auto-updating derived state.
- With
Notion - A trait to apply a notion on a state.
Functions§
- use_
artifacts - A hook to read all artifacts of the current artifact type.
- use_
atom - A hook to connect to an
Atom. - use_
atom_ setter - A hook to produce a setter function for an
Atom. - use_
atom_ value - A read-only hook to connect to the value of an
Atom. - use_
future_ notion_ runner - A hook to create a function that when called, runs a
FutureNotionwith provided input. - use_
input_ selector_ value - A hook to connect to an
InputSelector. - use_
notion_ applier - A hook to create a function that applies a
Notion. - use_
selector_ value - A hook to connect to a
Selector. - use_
slice - A hook to connect to a
Slice. - use_
slice_ dispatch - A hook to produce a dispatch function for a
Slice. - use_
slice_ value - A read-only hook to connect to the value of a
Slice.
Attribute Macros§
- future_
notion - A future-based notion that notifies states when it begins and finishes.