This Ain’t Your Grandma’s React IV: How Hooks Make Side Effects Make Sense

Michael Landis
8 min readOct 12, 2020

This is the fourth and final article on the difference between class-based and functional components. These articles are intended to help React developers who are making the switch from classes to functions, and find themselves irked when some of the mental models they’ve used with class-based components fail them with functional components.

--

--

Michael Landis

Front-end web developer, React enthusiast, vagabond.