James Wright
1 min readJan 23, 2019

--

Hey Antonio,

Thanks for the feedback.

Redhooks looks great. I really appreciate how it supports existing Redux middleware and that the documentation covers integrations with existing libraries. My only question would be around the useStore hook: are there any benefits to using said hook in lieu of connect/ mapStateToProps? I really appreciate the testability of the latter approach, as I don’t need to set up any providers or stub the store before I can write my tests.

--

--

James Wright
James Wright

Written by James Wright

Software engineer, writer, speaker, and open source contributor. Worked at the likes of Matillion, Sky, Channel 4, Trainline.

Responses (2)