Forgotten request for componentDidCatch
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
An issue was brought up in https://github.com/facebook/react/issues/10461
which highlighted an opportunity for expansion on componentDidCatch(error, info) - being that info only returns one item prop: componentStack; there were a lot of good ideas to break this down into a detailed object of the error with an array for the stack trace.
This issue was then closed for https://github.com/facebook/react/issues/10922 - which told everyone the issue had moved to a new respository - but the referenced issue missed the very initial reason for the request. We didn't just want documentation, we wanted to look at a fuller featured object for error info.
So it was moved and closed again in https://github.com/reactjs/reactjs.org/issues/17
--- Opening this because the original issue from October has been lost:
https://github.com/facebook/react/issues/10461
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされている issue 10461、10922、および reactjs.org の issue 17 を確認して、元の要望とその議論を把握します。この issue では、ファイル、テスト、実装のエントリーポイント、完了条件のいずれも指定されていません。目的の error-info オブジェクトと適切なリポジトリを、最初に定義する必要があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- documentation, frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100