getsentry / getsentry/sentry-react-native
Consider using the Global scope for static APIs (like setUser...)
オープン
Errors
Improvement
React-Native
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 366
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 94
説明
### Description
On react native context, where we only have one user, Sentry.SetUser could use the global scope instead of an isolation scope.
We could target v7 with this change.
context: [https://github.com/getsentry/sentry-react-native/pull/4901#discussion_r2142456956]()
コントリビューションガイド
調査の方向性
まず PR #4901 からリンクされている議論を読み、React Native の静的 API、特に Sentry.SetUser を追って、現在の scope の動作を確認します。これらの API が単一ユーザーのコンテキストにグローバル scope を使用すべきかどうかを決定して実装し、意図された v7 の動作を維持できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react-native, typescript
- 領域
- mobile
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100