News for hackers. Stuff that matters.
Re:Thinking in React Hooks by wilsonrocks on Thursday December 12, 2019 @03:15PM (#21775910)
Totally agree about useState and useDispatch... So much easier! It is true that it beds knowledge in the component, but how likely am I to replace redux in a working app?
Re:Thinking in React Hooks by nsenifty on Thursday December 12, 2019 @04:30PM (#21776718)
Additionally, you can write your own hooks that invoke redux hooks internally and hence provide reusability and separation of concerns.