Each child in a list should have a unique "key" prop. Check the render method of `InsertModalHeader`
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 58/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- bootstrap, javascript, react
- 領域
- frontend
調査の方向性
まず InsertModalHeader の render メソッドを見つけ、Bootstrap 4 モードで返される配列を調べます。警告を再現し、タイトルと閉じるボタンがキー不足の警告なしでレンダリングされることを確認します。既存の動作は変更されないようにします。
索引モデルが issue の本文から書いたものです。
説明
Receiving the error:
Each child in a list should have a unique "key" prop. Check the render method of InsertModalHeader
The reason is that the line:
return [ title, closeBtn ];
renders 2 children, the title and the closeBtn. The title has a "key" property. But, the closeBtn does not have a "key" property.
This only happens in bootstrap 4 mode where these two components are rendered as an array.
Solution #1: Add a "key" property to closeBtn
Solution #2: Render each element but not in an array.
- 主要言語
- JavaScript
- スター
- 2.2k
- フォーク
- 757
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AllenFang/react-bootstrap-table のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
AllenFang/react-bootstrap-table#2053 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
AllenFang/react-bootstrap-table#2144 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
AllenFang/react-bootstrap-table#2143 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
AllenFang/react-bootstrap-table#2142 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
AllenFang/react-bootstrap-table#2141 ·
AllenFang/react-bootstrap-table の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mailgun/mailgun.js#544 ·
-
beginner bug frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
BistaDinesh03/critique#266 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
solana-foundation/solana-web3.js#4015 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: dependencies auto-generated cwe: 405 dependencies ecosystem: npm help wanted package: minimatch scope: runtime security security-alert severity: medium source: dependabot supply-chain vulnerability
難易度 2/5 半日 初心者へのやさしさ 65/100
tdk-landscape/tdk-cli-core#2811 ·
-
a11y bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
open-webui/open-webui#33442 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信