[Typo]: Parameter name inconsistent
Open
Nobody has claimed this yet.
type: typos
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
Summary
The useActionState() detail is not correct.
Page
https://react.dev/reference/react/useActionState
Details
In useActionState() page, the reference hook function was useActionState(action, initialState, permalink?) while the parameters were fn, initialState and permalink. It causes a little confusion.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the useActionState reference page at the reported URL and compare the function signature with the parameter descriptions. Make the parameter name consistent throughout the page, then verify the rendered documentation shows the same name in both places.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100