loading...

Discussion on: Difficulties Encountered with React Hooks

Collapse
dorshinar profile image
Dor Shinar

I guess it should work, but if you're going through so much trouble, mapDispatchToProps will probably be easier

Thread Thread
mungojam profile image
Mark Adamson

I have a strong preference towards ditching the container/component split as it's hard for new react Devs to pick up and navigate the code. I'm not sure that passing in an extra prop is too much effort, but it is subjective