Use componentDidCatch in markdown renderer
オープン
backlog
markdown
- 主要言語
- JavaScript
- スター
- 4.8k
- フォーク
- 771
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
This would prevent crashes in the app like the one in #744, and would allow us to show a nice error message inviting the user to fill a bug report in git-point, prefilling the issue with the markdown that causes the crash :ok_hand:
I almost got it working with RN 0.54 but it still crashes on Android. Issue tracked at https://github.com/facebook/react-native/issues/18491
コントリビューションガイド
調査の方向性
まず Markdown レンダラーを見つけ、issue #744 を読んでクラッシュのコンテキストを再現します。次に、Android の制限について React Native issue 18491 を確認し、その後、レンダラーの失敗時に、問題のある Markdown があらかじめ入力された GitPoint のバグレポートを含むエラーメッセージが表示されることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react-native
- 領域
- frontend, mobile
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100