Closed
Description
Hey,
I was reviewing a PR with Russian translation of the article Glossary of React Terms
and noticed that there is a sentence about class components and state.
Only components defined as classes can have state.
You can find it here in the second paragraph.
React provides a hook useState
to declare a state for functional components. So I would like to ask, should it be changed after hooks was shipped?
Metadata
Metadata
Assignees
Labels
No labels