There are times when I reinitialize my store (by setting state = undefined) and I want the defaultValue to be computed again. A function value for defaultState could enable this:
function getDefaultState () {
return { thing: localStorage.getItem('thing') }
}
const reducer = handleActions({}, getDefaultState)
Thoughts?