Skip to content

[Typo]: Parameter name inconsistent #7699

Open
@xyf7

Description

@xyf7

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions