Skip to content

[Hooks] hooks-reference page useReducer section has error in code #1643

Closed
@adeelibr

Description

@adeelibr

Currently in the https://reactjs.org/docs/hooks-reference.html#usereducer section is taking wrong param in Counter function.

- function Counter({initialCount}) {
+ function Counter({initialState}) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions