This is a test project for using ink with TypeScript and redux
There's a pretty basic Provider
element
(like from react-redux)
, which just gives the child components
some context and subscribes to the store to call forceUpdate() when the state updates, which forces a re-render.
- clone this repo:
git clone https://github.com/xdave/ink-typescript-redux-test.git
cd ink-typescript-redux-test
npm start
oryarn start
- look at the code
- write some cool CLI apps
- ...
- profit!?