Structs§
- Hook
Context - Manages hook state across render cycles for a DynamicNode.
- Hook
Context Cell - A
Syncwrapper for single-threaded globalHookContextInneraccess. - Hook
Context Inner - Internal storage for hook state, holding boxed
Anyvalues and an index. - Signal
- A reactive signal handle.
- Signal
Inner - Inner state of a signal, holding the value and subscribed listeners.
Statics§
- CURRENT_
HOOK_ CONTEXT - Global pointer to the currently active
HookContextInner. - DEFAULT_
HOOK_ CONTEXT - Default empty
HookContextInnerfor the global fallback.
Traits§
- Into
Callback Attribute - Trait for types that can be converted into a callback attribute value.
- Into
Reactive Value - Trait for types that can be converted into a reactive string value.
Functions§
- create_
hook_ context - Creates a new
HookContextallocated viaBox::leak. - trigger_
update - Dispatches the global
__euv_signal_update__event on the window. - use_
signal - Creates a new reactive signal with the given initial value.
- with_
hook_ context - Runs a closure with the given
HookContextset as the active context.