React Hooks TL;DR

If you want to know what React Hooks are about but don’t want to learn them yet, this is for you.

Rodrigo Pombo
Dec 14, 2018 · 1 min read
  • coming in the next minor release (between now and March 2019)
  • hooks are 9 new functions you can import {} from 'react'
  • call hooks inside function components to add things like state or lifecycle methods
  • you can extract hook calls from the function component to another function, making your own custom hooks (this is the best part, it enables better sepatation of concerns and reusability)
  • hooks are optional and compatible with your current code
  • there’s an alpha version available if you want to try them
  • the official docs are very good, start there

Thanks for reading,

@pomber

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade