hydux-preact
preact renderer for hydux.
Install
yarn add hydux-preact # or npm i hydux-preact
Usage
let app = _app if processenvNODE_ENV === 'development' ; // built-in dev tools, without pain. const devTools = default const logger = default const hmr = default app = app app = app app = app { count: 1 } actions: count: statecount - 1 count: statecount + 1 <div> <h1>statecount</h1> <button onClick=actionsdown>–</button> <button onClick=actionsup>+</button> </div>
Counter App
git clone https://github.com/hydux/hydux-preact.gitcd examples/counteryarn # or npm i npm start
Now open http://localhost:8080 and hack!
` License
MIT