hyperapp-redux-devtools
hyperapp HOA (higher order app) to utilize redux-devtools-extension from hyperapp
;; count: 0 Object { return <div> <button onclick=actionsincrement>Click</button> <span>statecount</span> </div> ; } documentbody;
Dev vs. Prod
When deploying a Hyperapp with this HOA, it is advised you don't ship the devtools bundle with it:
With Webpack Dynamic Import
; let main; if processenvNODE_ENV !== 'production' import'hyperapp-redux-devtools' ; else main = ;
With Conditional Require (Rollup/Gulp/etc..)
;const devtools = processenvNODE_ENV !== 'production' ? : null; let main; if devtools main = ...; else main = ;