DEV Community

Discussion on: Your thoughts on React Hooks

Collapse
 
minche profile image
Minja Davidović

Experimenting is what gave us all the technologies that we have/use today :)

Changes are usually driven by:

  • community feedback - keeping the devs happy
  • reducing the amount of repetitive code
  • reducing the chances of devs using a library/framework in an unintended way (you can often hear or read in the docs that even though something can be used, doesn't mean it should for every scenario)

With "breaking" changes like that, a transition period is needed - suddenly discontinuing support for one of the basic concepts would be considered highly unpopular. We'll see if sticks.
However, I do agree that learning new syntactic sugar often can be a bit tiresome...