Commit 185a613
Replace FIXME comment with explanation for JS safety in MutationObserver (#56271)
Summary:
Pull Request resolved: #56271
Replace the FIXME(T157129303) comment in NativeMutationObserver with a
clarifying comment explaining why it is safe to call into JS at that
point: we only check mutations synchronously when committing from React,
so we are already in a JS task.
Changelog: [Internal]
Reviewed By: javache
Differential Revision: D98714071
fbshipit-source-id: 90738e9ec6e2215dff331a3b714373bf52f4b24b1 parent 7f7cc0a commit 185a613
1 file changed
Lines changed: 3 additions & 2 deletions
File tree
- packages/react-native/ReactCommon/react/nativemodule/mutationobserver
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
0 commit comments