react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

[Typo]: Parameter name inconsistent

Open xyf7 opened this issue 9 months ago • 0 comments

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.

xyf7 avatar Mar 30 '25 08:03 xyf7