Legend State is a new state management library focused 4 primary goals:
- Ease of use
- Being the fastest React state management library
- Fine grained reactivity
- Powerful persistence.
While some concepts are well established Legend State introduces several new concepts that can require thinking about state management and rendering in a new way. To facilitate this new way of thinking we created this library to make it easier to write idiomatic Legend State.
- Observables end in $
- the
use
method on observables can only be used within React components - Recommend replacing single
get()
method calls inuseSelector
with.use()
on the variable.