DEV Community

Discussion on: React should change the documentation to React Hooks

Collapse
 
the_riz profile image
Rich Winter

Instead of complaining, do the editing yourself and make a pull request (see "edit this page" at the bottom of the page)!

Collapse
 
alesbe profile image
alesbe

It's not about making a PR to update the docs, React team is building an updated version of the docs using functional components. Some PRs and issues mentioning exactly this were made before, for example here, here, and here. I'm just saying that it's been 4 years since functional components came out and new people coming to React will learn using the old classes instead of the new functional components. The project is open source but managed by Meta not by the community, I think that the documentation should have change some years ago. It's just a subjective opinion!