Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aaqib605 opened this issue Nov 28, 2024 · 0 comments · May be fixed by #7314
Open

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

aaqib605 opened this issue Nov 28, 2024 · 0 comments · May be fixed by #7314

Comments

@aaqib605
Copy link

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.

@aaqib605 aaqib605 linked a pull request Nov 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant