Module leptos_reactive::prelude 
source · Expand description
This prelude imports all signal types as well as all signal traits needed to use those types.
Re-exports
- pub use super::*;
Structs
- An efficient derived reactive value based on other reactive values.
- A wrapper for any kind of readable reactive signal: a ReadSignal, Memo, RwSignal, or derived signal closure.
- A wrapper for any kind of settable reactive signal: a WriteSignal, RwSignal, or closure that receives a value and sets a signal depending on it.
Enums
- A wrapper for a value that is eitherTorSignal<T>.
Traits
- Helper trait for convertingFn() -> Tclosures intoSignal<T>.
- Helper trait for convertingFn(T)intoSignalSetter<T>.
Functions
- Creates an efficient derived reactive value based on other reactive values.
- Creates a conditional signal that only notifies subscribers when a change in the source signal’s value changes whether it is equal to the key value (as determined by PartialEq.)
- Creates a conditional signal that only notifies subscribers when a change in the source signal’s value changes whether the given function is true.