getsentry / getsentry/sentry-react-native

Set `annotateReactComponents` to `true` by default

オープン
#5,388 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Improvement React-Native Spans
主要言語
TypeScript
スター
1.8k
フォーク
366
平均マージ
1日 6時間
マージ済み PR(30日)
94

説明

Set `annotateReactComponents` to `true` by default for better out of the box experience after considering possible side effects of this change.

[https://github.com/getsentry/sentry-react-native/blob/3401245dde03cba4e29953969add939b44460fc1/packages/core/src/js/tools/metroconfig.ts#L25](https://github.com/getsentry/sentry-react-native/blob/3401245dde03cba4e29953969add939b44460fc1/packages/core/src/js/tools/metroconfig.ts#L25)

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

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

調査の方向性

packages/core/src/js/tools/metroconfig.ts の25行目付近から始め、annotateReactComponents が現在どのように設定されているかを確認してください。デフォルト値を変更した場合に起こり得る副作用を確認し、そのうえで、既存の Metro 設定の動作を損なうことなく、オプションのデフォルト値が true になることを確認してください。

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

評価

技術スタック
react-native, typescript
領域
mobile
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

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

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