Closed robinweser closed 6 years ago
Instead of passing everything as separate parameters, we should rather use an object to allow future additions not to extend the params even more.
// old <Consumer>{(state, actions, effects, more, evenMore) => ...}</Consumer> // old <Consumer>{({ state, actions, effects, more, evenMore }) => ...}</Consumer>
It also helps to only pick the keys that are actually required without leaving blank params.
Instead of passing everything as separate parameters, we should rather use an object to allow future additions not to extend the params even more.
It also helps to only pick the keys that are actually required without leaving blank params.