https://github.com/littlesound/undou
https://github.com/littlesound/undou
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/littlesound/undou
- Owner: LittleSound
- Created: 2025-07-31T10:01:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-10T03:47:52.000Z (10 months ago)
- Last Synced: 2025-09-06T10:42:10.325Z (9 months ago)
- Language: TypeScript
- Size: 330 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Undou draft
Trying to build a tool that can track and patch state change history. Used for scenarios similar to undo/redo functionality. The current implementation is based on [immer](https://github.com/immerjs/immer).
It's just a draft for now. If you want to play around, you can clone it and run `nr dev`.
If you don’t know how to use it, you can take a look at the [unit tests](./test/undou.test.ts).
## TODO
#### Important
- [x] Basic types at the root
- [x] Object
- [ ] Array
- [x] on async scheduler
- [ ] on sync scheduler
- [ ] array instrumentations
- [ ] Vue reactivity
##### Low priority
- [ ] Map and Set
- [ ] ...