0.0.0-rc.10 • Published 3 years ago
@nanoslices/devtools v0.0.0-rc.10
@nanoslices/devtools
Nanoslices plugin for adding a connection to the Redux Devtools.
Installation
@nanoslices/devtools depends on @nanoslices/core, refer to @nanoslices/core
for its installation instruction.
npm
npm install --save @nanoslices/devtoolsyarn
yarn add @nanoslices/devtoolsUsage
Simply import @nanoslices/devtools somewhere in your application, preferably in the file from which your store is exported.
After that, two new options will be available in createStore calls:
devtools: booleancontrols whether to setup the Redux DevTools connection. It is not recommended to use this is production.name: stringlets you set a name for your DevTools store. Defaults toNanoslicesif omitted.