* inputs array > dependencies array
I think initially this was referred to as the "inputs array" in the docs, then it was changed to the "dependencies array" everywhere except it looks like a few were missed.
* inputs array > dependencies array
I think initially this was referred to as the "inputs array" in the docs, then it was changed to the "dependencies array" everywhere except it looks like a few were missed.
* previous page link is not linking to the previous page, but to the second last.
The example code is on both, the `Introducing Hooks` as well as `Hooks at a Glance` page, but the linked page is the `Introducing Hooks` and I think that's the right one (the `Hooks at a Glance` page probably got added later?).
Not sure about the phrasing so, having "introduce" twice in one sentence ...
* Update content/docs/hooks-state.md
Co-Authored-By: 0xnoob <49793844+0xnoob@users.noreply.github.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
The link should probably either go to directly to the beginning of main concepts (which is what my proposes change does), or to the anchor -tag of "Step-by-Step Guide" (#step-by-step-guide). There is no other link in the article which refers to another anchor-tag, that's why I chose to directly link to the main-concepts.
* Add more explanations to API page
* static
* add info about useLayoutEffect
* Update content/docs/hooks-reference.md
Co-Authored-By: gaearon <dan.abramov@gmail.com>
* nits
* nit
Hi! 👋
This PR only fixes the `Previous article` link on [this page](https://reactjs.org/docs/hooks-effect.html).
Once this get merged, do I need to open a similar PR in each one of the translation repos?
These docs still refer to function components as "stateless function components" despite the fact that function components aren't necessarily stateless (anymore). The docs shouldn't use this outdated terminology anymore.
I left the "stateless" in the link to avoid breaking existing links to these docs but can remove if keeping links valid isn't a priority.