concent-plugin-redux-devtool
v2.1.1
Published
link concent app to redux plugin of chrome
Downloads
43
Maintainers
Readme
how to use
- step 1, install it
npm i concent-plugin-redux-devtool
- setp 2, config it to concent startupOption's plugins
import { run } from 'concent';
import reduxDevToolPlugin from 'concent-plugin-redux-devtool';
// your store config
const storeConfig = {};
// your option
const startupOption = {
plugins: [reduxDevToolPlugin]
};
run(storeConfig, startupOption);
- run your concent app, check your chrome redux dev-tool
note that
committedState
is the whole state that committed by some one of your component refs,sharedState
is the state that will save to store, they are different!