I just converted a react component which had a separate file for the 'container' which contained the mapStateToProps / mapDispatchToProps connect wrapper implementation.
Now my GUI component is mixed with redux specific functions like useSelector and useDispatch. Now no props are being passed in.
This seems like the worst design pattern possible. Before the GUI component was a function of the props, regardless of whether they came from redux or from a parent control.
Easily testable, and very clear what properties the component depended on.
All this is gone!
Can anyone think of one benefit of using redux hooks? Maybe I am missing something.
Thanks