Open gcloeval opened 5 years ago
Thanks! Appreciate the feedback. Need to add this for useSelect
too.
And add component stack traces once React.warn()
ships: https://github.com/facebook/react/pull/15170
Oh, just be clear I'm not an author of react-redux. I've contributed to it few times but I have no direct influence on its API design.
But feedback like this can of course influence @markerikson and other authors indirectly.
The hooks api discussion is over here https://github.com/reduxjs/react-redux/issues/1179
This few lines here:
this is so so excellent. You have saved me so much time. It cought every single place I mistankely was returning new identities and/or in general misconfiguring stuff. I know you are sort of using this as a prototyping for official redux hooks, so I just want to encourage you that this sort of warning is also included there.