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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @xyf7

      Issue actions

        [Typo]: Parameter name inconsistent · Issue #7699 · reactjs/react.dev