Reducer composition greatly helps break up the concerns of an application into distinct units, but sometimes these reducers need to know something about a different part of the application state. It doesn't always make sense to combine these two reducers together just because they share this one interdependency. It would be helpful if the full
appState
atom was passed as an optional third argument to reducers for read-only purposes. Current workarounds include reading the needed value from getState() in the action creator and passing it along in the action, but this feels a bit polluting. I'd love to hear your take on this. Thanks!