News for hackers. Stuff that matters.
Re:With React 16.8, React Hooks are available in a stable re... by talkingtab on Wednesday February 06, 2019 @06:19AM (#19094274)
My litmus test for technology is whether it results in a) fewer lines of code b) simpler code and c) does it make me more productive. My experience with using hooks is that I rip out lots of cruft and it is easier for me to get my head around how to write things so I am more productive. The cost is learning a new paradigm, but the benefit for me was very high.
Re:With React 16.8, React Hooks are available in a stable re... by case_of_snakes on Wednesday February 06, 2019 @08:54AM (#19095039)
I strongly recommend you temper your criterion `a` by how much the abstractions help or impede your understanding of the code later on, especially when trying to diagnose a bug.
Re:With React 16.8, React Hooks are available in a stable re... by williamdclt on Wednesday February 06, 2019 @01:06PM (#19097791)
I suppose that's b)