0.3.0 • Published 2 years ago
openstate v0.3.0
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 instatecurrent- True ifpresentand notexpiredchanged- True if the initialmutableis different than the currentmutablereadable- 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 ifrejectionsis emptyinvalid- Inverse ofvalidfailed- True ifwritewas called and stopped because ofinvalid
API Reference
See docs/API.md
Contributing
See CONTRIBUTING.md