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
More generally, reactjs.org introduction largely ignores hooks, while using classes throughout. As a result, hooks are largely ignored by newcomers.
Suggestion: the Clock example and the Markdown Editor examples should come in two alternative versions: one using Class, one using function components and useState() and useEffect() hooks.
The text was updated successfully, but these errors were encountered:
The examples are located here:
https://github.com/reactjs/reactjs.org/tree/master/content/home/examples
We can see that they received little to no change since their creation, more than 3 years ago.
There are two problems:
More generally, reactjs.org introduction largely ignores hooks, while using classes throughout. As a result, hooks are largely ignored by newcomers.
Suggestion: the Clock example and the Markdown Editor examples should come in two alternative versions: one using Class, one using function components and useState() and useEffect() hooks.
The text was updated successfully, but these errors were encountered: