openstate
v0.3.0
Published
A modular framework for shared state management
Downloads
9
Readme
OpenState - Modular Web Components
A modular framework for shared state-management between web components.
Overview
See Demo
Design
Metastate Values
present
- True if the data exists instate
current
- True ifpresent
and notexpired
changed
- True if the initialmutable
is different than the currentmutable
readable
- Implementation specificwritable
- Implementation specificreading
- True if a read is currently in processwriting
- True if a write is currently in processcached
- True if the value exists in cache storageexpired
- Implementation specificvalid
- True ifrejections
is emptyinvalid
- Inverse ofvalid
failed
- True ifwrite
was called and stopped because ofinvalid
API Reference
See docs/API.md
Contributing
See CONTRIBUTING.md