Redesign Native RedBox
オープン
@TMaszko がすでに取り組んでいます。
2022年3月13日 から。
Never gets stale
Type: Discussion
Type: Enhancement
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Overview
LogBox handles most errors users see but we still display native RedBoxes in cases where:
- JavaScript has not loaded (e.g. Metro is unavailable)
- JavaScript is unavailable (e.g. a syntax error in the bundle)
- LogBox fails to render (e.g. an error in LogBox JavaScript)
- Native log errors (e.g. RCTLogFatal)
This issue is to improve the fallback RedBox in these cases for a better experience.
Tasks
- Update design to be in line with LogBox (see below)
- Cleanup code by removing the symbolication logic (as this is handled by LogBox)
- Remove stack trace since for all errors that this can occur the stack trace is not relevant
Designs
JavaScript has not loaded (Metro is unavailable)

JavaScript is not available (syntax error)

LogBox fails to render

Native log errors

コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。