React Hooks are a new addition to the React API — introduced in React v16.8.0. On the face of it, Hooks depart from the classic class component structure of React significantly and can seem daunting. Coupled with the fact that classes are still here to stay and the API itself hasn’t been adjusted to necessitate the use of Hooks, some may be slow to adopt them. However, once you are familiar with them, Hooks are a conciser and more straightforward way to organize code and manage state, making them a wonderful addition to your React toolbelt!

A quick example of the useState hook in action

So, what is a…

Kelsey Greene

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store