lundegaard / redux-tools

💪 Maintaining large Redux applications with ease.
https://redux-tools.js.org
MIT License
34 stars 9 forks source link

`makeReducer` should accept predicates along with action types. #109

Closed wafflepie closed 4 years ago

wafflepie commented 4 years ago

possibly even arrays of action types. this should be possible:


makeReducer([
  [ActionType, reducer],
  [[ActionTypeOne, ActionTypeTwo], reducer],
  [isSomeActionType, reducer]
])
wafflepie commented 4 years ago

Closed by #147