You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.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?The text was updated successfully, but these errors were encountered: