re: New Redux Hooks: A Before And After Comparison. Are They Better? VIEW POST

re: Nitpick: we have a useStore() hook that returns the store instance, rather than a useState() hook that returns the store state. (If you wanted a u...

Thanks for bringing that to my intention. I've fixed the error in the article.

Add that's a good point on testing. You can no longer test just the component by mocking out all of the redux parts, but that may be a feature more than a bug. I've been moving towards more integration-style testing in my work as well. Still, probably one of the bigger differences you'll face moving from connect to hooks.

code of conduct - report abuse