Skip to content

[Typo]: Missing article before useState in documentation sentence #7313

Open
@aaqib605

Description

Summary

The sentence “You can even useState and useReducer in the same component.” is missing an article before useState. It should be corrected to “You can even use useState and useReducer in the same component.” to maintain proper grammar and clarity.

Page

https://react.dev/learn/extracting-state-logic-into-a-reducer

Details

In the "Comparing useState and useReducer" section, the sentence “You can even useState and useReducer in the same component.” is missing an article before useState. It should be corrected to “You can even use useState and useReducer in the same component.” to maintain proper grammar and clarity.

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