Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zcaudate/legacy.tui-grid-history
Movement with History in React Blessed
https://github.com/zcaudate/legacy.tui-grid-history
Last synced: 25 days ago
JSON representation
Movement with History in React Blessed
- Host: GitHub
- URL: https://github.com/zcaudate/legacy.tui-grid-history
- Owner: zcaudate
- Created: 2021-01-13T09:16:42.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-13T09:16:54.000Z (about 4 years ago)
- Last Synced: 2024-11-14T12:48:05.546Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tui Grid History
This is a simple example of using
[react-blessed](https://github.com/Yomguithereal/react-blessed) and
[immer](https://immerjs.github.io/immer/) in order to save history of
state. Based off of this
[gist](https://frontarm.com/swyx/reusable-time-travel-react-hooks-immer/).![](https://user-images.githubusercontent.com/1455572/104409159-9baf0900-55a0-11eb-8100-38bf2ec1e6cd.png)
History is save as a timeline that can be walked via Redo/Undo Actions.
### Dev
``` shell
make dev
```### Package
``` shell
make package
```