@frontmen/hyperapp-redux-devtools
A Hyperapp higher-order app
that logs state updates to redux devtools.
Installation
Node.js
Install with npm / Yarn.
npm i @frontmen/hyperapp-redux-devtools
Then with a module bundler like rollup or webpack use as you would anything else.
import withReduxDevtools from "@frontmen/hyperapp-redux-devtools"
// Or as a named import:
import { withReduxDevtools } from "@frontmen/hyperapp-redux-devtools"
Browser
Download the minified library from the CDN.
<script src="https://unpkg.com/Frontmen/hyperapp-redux-devtools"></script>
You can find the library in window.withReduxDevtools
.
Usage
import withReduxDevtools from 'hyperapp-redux-devtools';
withReduxDevtools(app)(state, actions, view, document.body)
License
@frontmen/hyperapp-redux-devtools is MIT licensed. See LICENSE.