Module maple_core::reactive [−][src]
Reactive primitives.
Structs
Owner | Owns the effects created in the current reactive scope.
The effects are dropped and the cleanup callbacks are called when the |
Signal | State that can be set. |
SignalVec | A reactive |
StateHandle | A readonly |
Enums
VecDiff | An enum describing the changes applied on a |
Functions
create_effect | Creates an effect on signals used inside the effect closure. |
create_effect_initial | Creates an effect on signals used inside the effect closure. |
create_memo | Creates a memoized value from some signals. Also know as “derived stores”. |
create_root | Creates a new reactive root. Generally, you won’t need this method as it is called automatically in |
create_selector | Creates a memoized value from some signals. Also know as “derived stores”.
Unlike |
create_selector_with | Creates a memoized value from some signals. Also know as “derived stores”.
Unlike |
on_cleanup | Adds a callback function to the current reactive scope’s cleanup. |
untrack | Run the passed closure inside an untracked scope. |