redux-devtools-preset
Opinionated Redux DevTools.
Installation
npm install redux-devtools-preset --save
Usage
const store = const App = { return <p> Hello World! </p> } const rootNode = documentReactDOM
Then you can use Ctrl-h
to toggle the development panel.
By setting process.env.NODE_ENV = 'production'
and JavaScript compressor to eliminate unused code, the debug code will not be included in production build.