Implement UI consistency in DOM methods#43577
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
73db4ed to
bd2562c
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
bd2562c to
39b1247
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
39b1247 to
dc50f83
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
dc50f83 to
fa6895c
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
fa6895c to
769c6b4
Compare
Base commit: 274faf4 |
769c6b4 to
24fa444
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
24fa444 to
26a6788
Compare
26a6788 to
8259044
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
8259044 to
d5defbd
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
d5defbd to
e860cfc
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
e860cfc to
2fa7cde
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
2fa7cde to
41f4d24
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
41f4d24 to
3a347d1
Compare
3a347d1 to
7f28a10
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
7f28a10 to
0bf1c6b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
0bf1c6b to
56a4702
Compare
Differential Revision: D55024832
Summary: Pull Request resolved: facebook#43577 Changelog: [Internal] This updates all the DOM APIs in React Native (defined in the `NativeDOM` native module) to make use of the UI consistency mechanism introduced in Fabric (if available, otherwise the behavior is the same we have now — we consume the latest version of the tree available). As part of that work, this creates a new `DOMMethods` class that implements all methods using purely C++ APIs (not JSI), moves a lot of logic that was specific for this functionality from `UIManager` to `DOMMethods` and modifies `NativeDOM` to use this new class. This should make it easier to add unit tests for `DOMMethods` in the future. Reviewed By: NickGerleman Differential Revision: D55077311
56a4702 to
44cfc1b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D55077311 |
|
This pull request has been merged in 67d6d09. |
Summary:
Changelog: [Internal]
This updates all the DOM APIs in React Native (defined in the
NativeDOMnative module) to make use of the UI consistency mechanism introduced in Fabric (if available, otherwise the behavior is the same we have now — we consume the latest version of the tree available).As part of that work, this creates a new
DOMMethodsclass that implements all methods using purely C++ APIs (not JSI), moves a lot of logic that was specific for this functionality fromUIManagertoDOMMethodsand modifiesNativeDOMto use this new class.This should make it easier to add unit tests for
DOMMethodsin the future.Differential Revision: D55077311