DEV Community

Discussion on: Making Sense of React Hooks

Collapse
 
andy profile image
Andy Zhao (he/him)

If the React community embraces the Hooks proposal, it will reduce the number of concepts you need to juggle when writing React applications.

As a fairly recent React user, I think this is probably the biggest selling point for me. Have a good feeling that Hooks will make things easier to use and understand, as opposed to adding more complexity.

Collapse
 
kayis profile image
K • Edited

This will only ease the pain for new developers that start new projects.

If you start with React and have to work with existing projects, depending on its age, you'll have to wrestle all concepts (Mixins, Higher Oder Components, Render Props).

Collapse
 
dan_abramov profile image
Dan Abramov

Yeah. We’re optimizing for long term.

Thread Thread
 
kayis profile image
K

Never questioned it :)

Collapse
 
ben profile image
Ben Halpern

Yes. But at least with existing codebases, you can sort of pattern match and learn by a bit of trial and error. Too many competing concepts is probably harder when you're green field and the task at hand is still super abstract.