reactjs / reactjs/react.dev

[Typo]: Missing article before useState in documentation sentence

オープン 初心者向け
#7,313 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

type: typos
主要言語
JavaScript
スター
11.8k
フォーク
7.9k
平均マージ
1日 11時間
マージ済み PR(30日)
11

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

React ドキュメントのページ「Extracting State Logic into a Reducer」を開き、「Comparing useState and useReducer」セクションを見つけます。指定された文に欠けている冠詞を修正し、その後、レンダリングされたページで Issue の文言が正確に使われていることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, react
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
90/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。