DEV Community

loading...

Discussion on: Why React Hooks?

Collapse
chriswcs profile image
Christian Hansen

Very nice explanation of the motivation for why to use them. They are definitely more than just a shiny new addition to the library.

Collapse
tylermcginnis profile image
Tyler McGinnis Author

Definitely. I think the closing paragraph sums it up nicely - "The marketing pitch for Hooks is that you’re able to use state inside function components. In reality, Hooks are much more than that. They’re about improved code reuse, composition, and better defaults."