score:1

either would work. the only thing that comes to mind is that, without an initial state, it doesn't really fit the definition of a redux reducer; it would not work in isolation, since redux expects the initial state to not be undefined.

in any case it's rather innocuous to set an initial state on the sub-reducer as

export default function stats(state = {}, action) {
    // ... whwtever
}

Related Query

More Query from same tag