DEV Community

Cover image for What are React Class Components?
Gourav
Gourav

Posted on Edited on

What are React Class Components?

They are nothing use React Function Components instead!

In older React, Class components were the only way to track state and lifecycle on a React component.

Thank you!

Top comments (2)

🔴 Live TV: seeksamurai/what are react class components b - Jadwal Siaran Langsung
 
zwacky profile image
Simon Wicki •

Haaaa you got me. And yes, I approve this post 😋

🔴 Live TV: seeksamurai/what are react class components b - Jadwal Siaran Langsung
 
seek4samurai profile image
Gourav •

lol thanks <3