Crate sycamore_reactive
source · [−]Expand description
Reactive primitives for Sycamore.
Structs
A ScopeRef
that is bounded by the 'bound
lifetime. This is used to bypass restrictions on
HRTBs (Higher Ranked Trait Bounds) so that 'a
can be higher ranked while still be bounded by
the 'bound
lifetime.
A read-only Signal
.
A reactive scope.
A handle that allows cleaning up a Scope
.
Reactive state that can be updated and subscribed to.
A struct for managing subscriptions to signals.
Traits
A trait that is implemented for all ReadSignal
s regardless of the type parameter.
Functions
Create a new RcSignal
with the specified initial value.
Creates a reactive scope.
Creates a reactive scope, runs the callback, and disposes the scope immediately.
A helper function for making it explicit to define dependencies for an effect.
Run the passed closure inside an untracked dependency scope.