DEV Community

What is State in React?

Kriti Rai on May 03, 2019

In English, state refers to "the particular condition that someone or something is in at a specific time" and that holds true in React as well. Sta...
Collapse
 
karataev profile image
Eugene Karataev

With hooks it's possible to have state in functional components nowdays.

Collapse
 
kritirai profile image
Kriti Rai

Great, i'll have to look into that :)

Collapse
 
jackharner profile image
Jack Harner πŸš€

Thanks for this! Great write-up and it was the first time I've ever been able to say: "Wait, I already know something about React!".

Collapse
 
kritirai profile image
Kriti Rai

Right on! I'm glad you found the post useful :)