This Ain’t Your Grandma’s React (Part 2)
How state works without classes
7 min readJun 29, 2020
Welcome back. In Part One I gave an overview on how functional components using Hooks have a completely different approach on lifecycle management versus class-based components. In Part Two, I’ll go into how Hooks manage state, and how it can surprise you if you’re used to managing state in classes.