I’m curious about something. I was always under the impression that one could have two actions with the same name in two different reducers and that Redux would sort out the correct one to call.
So for example, say you had this setup:
- Reducer1: with an UPDATE_TEXT reducer
- Reducer2: with an UPDATE_TEXT reducer
And then in your React component file, when you load the correct actions file, it would just know which reducer to call. But testing reveals this not to be the case.
Am I imagining things? Is there a way to isolate and remove such conflicts? Or does one have to carefully never give two disparate reducers the same action name?