Continuing from discussion in PR #694: add [immer](https://immerjs.github.io/immer/) to help clean up reducers.