webpack-bootstrap-ui-kit/src/js/store/index.js
2021-08-18 20:51:15 +02:00

20 lines
376 B
JavaScript

import configure from "./configure";
const store = configure();
/*import {
PageControls
} from './components'*/
//const pageControls = new PageControls(store)
store.subscribe(() => console.log(store.getState()));
store.dispatch({
type: "counter/incremented",
});
store.dispatch({
type: "counter/incremented",
});
store.dispatch({
type: "counter/decremented",
});