redux - Best way to update related state fields with split reducers?

I'm trying to work out the ideal way to update several top level fields on my state tree while still maintaining split reducers.Here's a simple solution that I've come up with.var state = { fileOrder: [0], files: { 0:{ id: 0, name: 'asdf' } }};function handleAddFile(state, action) { return {...state, ...{[action.id]:{id: action.id, name: action.name}}};};function addFileOrder(state, action) { return [...state, action.id];}// Adding a file should create a new file, and add its id to the fileOrder array.function addFile(state...Read more