PreviousNext

Frustrations with React Hooks

by bill-s, 2019-09-16T01:13:09.390Z

Before I detail my current frustrations with Hooks I do want to state for the record that I am, for the most part, a fan of Hooks. I often hear that the main reason for the existence of Hooks is to replace class components. Sadly, the main heading in the official React site’s post introducing Hooks really undersells Hooks with this not-so-bold statement: Hooks are a new addition in React 16.8. They let you use state, and other React features without writing a class.

Read More