React Basics: Components and the Importance of State

So you’re learning React and come across components. Class components, functional components, and wait, hooks? Read on to understand the difference between them (🤫 the secret is state)

Waverley Leung
Feb 17 · 8 min read
Photo by Stefan Steinbauer on Unsplash

Table of Contents