reactjs / reactjs/react.dev

[Typo]: Missing article before useState in documentation sentence

Đang mở Phù hợp với người mới
#7,313 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

type: typos
Ngôn ngữ chính
JavaScript
Star
11.8k
Fork
7.9k
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
11

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Mở trang tài liệu React “Extracting State Logic into a Reducer” và tìm phần “Comparing useState and useReducer”. Sửa mạo từ bị thiếu trong câu được chỉ định, sau đó xác minh rằng trang đã render sử dụng chính xác nội dung từ Issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, react
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
90/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.