first bits of redux

This commit is contained in:
41666 2019-03-20 09:25:28 -05:00
parent 9c7f7fda73
commit def2b0d2a3
13 changed files with 170 additions and 16 deletions

View file

@ -12,4 +12,6 @@ export const initStore = (initialState = {}) => {
)
}
export const withRedux = (comp) => withNextRedux(initStore)(comp)
export const withRedux = (comp) => withNextRedux(initStore, {
debug: process.env.NODE_ENV === 'development'
})(comp)