Stale MutationObserver records abort callbacks for active observers
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
The MutationObserver manager explicitly tolerates stale native records when an observer is disconnected between commit and mount. However, encountering one missing registration returns from the entire notification pass, dropping every later record and callback in the same native batch, including records for still-active observers.
Expected behavior
A stale record for a disconnected observer should be ignored while notification continues for all active observers in the batch, matching the equivalent ResizeObserver handling.
React Native Version
0.87.1 and current main
Affected Platforms
New Architecture - All
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず MutationObserver のマネージャーを見つけてその通知パスを読み、次に issue に記載されている ResizeObserver の同等の処理と比較します。登録が存在しない場合は無視され、同じネイティブバッチ内で後から処理されるアクティブな observer にも引き続きコールバックが渡されることを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, react-native
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 65/100