Matt Miller
1 min readMar 19, 2020

--

How would you write another reducer that consumes the same action? Like, I thought one of the main benefits of Redux was the separation of actions from reducers, so you can do things like have a reducer that updates a global error “toast” when any action has an `error` property, or render a loader.

--

--

Matt Miller
Matt Miller

No responses yet

Write a response