Module maple_core::reactive [−][src]
Reactive primitives.
Structs
Owner | Owns the effects created in the current reactive scope. |
Signal | State that can be set. |
StateHandle | Returned by functions that provide a handle to access state. |
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. |