https://github.com/fiddlerwoaroof/state-tree
A tree-based state-container with transactional mechanisms
https://github.com/fiddlerwoaroof/state-tree
Last synced: 7 months ago
JSON representation
A tree-based state-container with transactional mechanisms
- Host: GitHub
- URL: https://github.com/fiddlerwoaroof/state-tree
- Owner: fiddlerwoaroof
- Created: 2018-05-29T18:41:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-07-28T22:33:39.000Z (about 1 year ago)
- Last Synced: 2025-08-02T19:29:01.628Z (about 1 year ago)
- Language: JavaScript
- Size: 2.77 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# State Management Built around Undo
This state management system is built around two concepts:
1. State is accessed and set primarily through lenses that can be split off and composed.
2. A transaction can be initiated from the state tree, which records mutations in a separate branch until the
transaction is committed.