react.dev
react.dev copied to clipboard
[Typo]: Parameter name inconsistent
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.