Expand description
State management system for the Orbit UI framework
This module provides several approaches to state management:
StateContainer
- A basic state container that stores values and notifies subscribers when values changeState<T>
- A typed reference to a value in the state containerComputed<T>
- A derived state value that depends on other values- The reactive module - A fine-grained reactive system with signals and effects
Structs§
- Computed
- Represents a computed state value that depends on other state
- Effect
- A reactive effect that runs when its dependencies change
- Reactive
Computed - A computed value that derives from other reactive values
- Reactive
Scope - Reactive scope that manages signals, effects, and computed values
- Signal
- A reactive signal that holds a value
- State
- Represents a reactive value that can be observed for changes
- State
Container - State management for Orbit applications
Enums§
- Signal
Error - Errors that can occur in the reactive system
Functions§
- create_
computed - Create a new computed value
- create_
effect - Create a new effect that runs when dependencies change
- create_
signal - Create a new signal with an initial value