2021-08-18 20:51:15 +02:00
|
|
|
import configure from "./configure";
|
2021-08-10 01:27:45 +02:00
|
|
|
const store = configure();
|
|
|
|
|
|
|
|
/*import {
|
|
|
|
PageControls
|
|
|
|
} from './components'*/
|
|
|
|
|
|
|
|
//const pageControls = new PageControls(store)
|
|
|
|
|
|
|
|
store.subscribe(() => console.log(store.getState()));
|
|
|
|
store.dispatch({
|
2021-08-18 20:51:15 +02:00
|
|
|
type: "counter/incremented",
|
|
|
|
});
|
2021-08-10 01:27:45 +02:00
|
|
|
store.dispatch({
|
2021-08-18 20:51:15 +02:00
|
|
|
type: "counter/incremented",
|
|
|
|
});
|
2021-08-10 01:27:45 +02:00
|
|
|
store.dispatch({
|
2021-08-18 20:51:15 +02:00
|
|
|
type: "counter/decremented",
|
|
|
|
});
|