Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 730 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 730 Bytes

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

dev-tool-pic

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!