1
Fork 0

just export state directly

This commit is contained in:
Conduitry 2017-10-26 11:17:51 -04:00
parent 5ea9f67d14
commit 45d8fe88b1

View file

@ -1,9 +1,7 @@
let reducer = state => state
let listeners = new Set()
let state
export let getState = () => state
export let state
export let setReducer = (newReducer, preloadedState = newReducer()) => {
reducer = newReducer