Expand description
§leptos-state v1.0.0 - Redesigned Architecture
This module contains the completely redesigned architecture that fixes the fundamental type system issues present in v0.2.x.
§Design Philosophy
- Trait-first design with proper bounds
- Feature flags that actually work independently and together
- Zero-cost abstractions where possible
- WASM-first but native-compatible
- Leptos v0.8+ integration from day one
Re-exports§
Modules§
- hooks
- Leptos integration hooks for stores and state machines
- machine
- State machine implementation inspired by XState
- store
- Store implementation inspired by Zustand
- utils
- Utility types and functions
- v1
- leptos-state v1.0.0 - Redesigned Architecture
Macros§
- create_
store - Macro for creating store implementations
- property
- Macro for creating properties
- select_
field - Macro for creating field selectors
- test_
case - Macro for creating test cases