DEV Community

Discussion on: Reinventing the Wheel With React Hooks

 
jkhaui profile image
Jordy Lee

Hmmm fair enough. Thanks for the explanation.

In terms of what's "easier" to reason about in React/JS, I personally find functional components easier to understand than class components. E.g. the other day I had to go through a couple of React libraries using classes. It took me a while to adjust to understanding what "this" referred to. Maybe I'm strange for legitimately disliking class components 😆