Commit 66108fa
committed
[RN] Move definition of public instances to ReactNativePrivateInterface (#32446)
## Summary
> [!NOTE]
> This only modifies types, so shouldn't have an impact at runtime.
Some time ago we moved some type definitions from React to React Native
in #26437.
This continues making progress on that so values that are created by
React Native and passed to the React renderer (in this case public
instances) are actually defined in React Native and not in React.
This will allow us to modify the definition of some of these types
without having to make changes in the React repository (in the short
term, we want to refactor PublicInstance from an object to an interface,
and then modify that interface to add all the new DOM methods).
## How did you test this change?
Manually synced `ReactNativeTypes` on top of
facebook/react-native#49602 and verified Flow
passes.
DiffTrain build for [9dd378f](9dd378f)1 parent 0cf3a7f commit 66108fa
File tree
24 files changed
+104
-164
lines changed- compiled-rn
- facebook-fbsource/xplat/js
- RKJSModules/vendor/react
- react-dom/cjs
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
- implementations
- shims
24 files changed
+104
-164
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
25966 | 25966 | | |
25967 | 25967 | | |
25968 | 25968 | | |
25969 | | - | |
| 25969 | + | |
25970 | 25970 | | |
25971 | 25971 | | |
25972 | 25972 | | |
25973 | | - | |
| 25973 | + | |
25974 | 25974 | | |
25975 | 25975 | | |
25976 | 25976 | | |
| |||
26007 | 26007 | | |
26008 | 26008 | | |
26009 | 26009 | | |
26010 | | - | |
| 26010 | + | |
26011 | 26011 | | |
26012 | 26012 | | |
26013 | | - | |
| 26013 | + | |
26014 | 26014 | | |
26015 | 26015 | | |
26016 | 26016 | | |
| |||
26154 | 26154 | | |
26155 | 26155 | | |
26156 | 26156 | | |
26157 | | - | |
| 26157 | + | |
26158 | 26158 | | |
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
16001 | 16001 | | |
16002 | 16002 | | |
16003 | 16003 | | |
16004 | | - | |
| 16004 | + | |
16005 | 16005 | | |
16006 | 16006 | | |
16007 | 16007 | | |
16008 | 16008 | | |
16009 | 16009 | | |
16010 | 16010 | | |
16011 | | - | |
| 16011 | + | |
16012 | 16012 | | |
16013 | 16013 | | |
16014 | 16014 | | |
| |||
16030 | 16030 | | |
16031 | 16031 | | |
16032 | 16032 | | |
16033 | | - | |
| 16033 | + | |
16034 | 16034 | | |
16035 | 16035 | | |
16036 | | - | |
| 16036 | + | |
16037 | 16037 | | |
16038 | 16038 | | |
16039 | 16039 | | |
| |||
16137 | 16137 | | |
16138 | 16138 | | |
16139 | 16139 | | |
16140 | | - | |
| 16140 | + | |
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
16651 | 16651 | | |
16652 | 16652 | | |
16653 | 16653 | | |
16654 | | - | |
| 16654 | + | |
16655 | 16655 | | |
16656 | 16656 | | |
16657 | 16657 | | |
16658 | 16658 | | |
16659 | 16659 | | |
16660 | 16660 | | |
16661 | | - | |
| 16661 | + | |
16662 | 16662 | | |
16663 | 16663 | | |
16664 | 16664 | | |
| |||
16680 | 16680 | | |
16681 | 16681 | | |
16682 | 16682 | | |
16683 | | - | |
| 16683 | + | |
16684 | 16684 | | |
16685 | 16685 | | |
16686 | | - | |
| 16686 | + | |
16687 | 16687 | | |
16688 | 16688 | | |
16689 | 16689 | | |
| |||
16802 | 16802 | | |
16803 | 16803 | | |
16804 | 16804 | | |
16805 | | - | |
| 16805 | + | |
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
26027 | 26027 | | |
26028 | 26028 | | |
26029 | 26029 | | |
26030 | | - | |
| 26030 | + | |
26031 | 26031 | | |
26032 | 26032 | | |
26033 | 26033 | | |
26034 | | - | |
| 26034 | + | |
26035 | 26035 | | |
26036 | 26036 | | |
26037 | 26037 | | |
| |||
26068 | 26068 | | |
26069 | 26069 | | |
26070 | 26070 | | |
26071 | | - | |
| 26071 | + | |
26072 | 26072 | | |
26073 | 26073 | | |
26074 | | - | |
| 26074 | + | |
26075 | 26075 | | |
26076 | 26076 | | |
26077 | 26077 | | |
| |||
26531 | 26531 | | |
26532 | 26532 | | |
26533 | 26533 | | |
26534 | | - | |
| 26534 | + | |
26535 | 26535 | | |
26536 | 26536 | | |
26537 | 26537 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
16012 | 16012 | | |
16013 | 16013 | | |
16014 | 16014 | | |
16015 | | - | |
| 16015 | + | |
16016 | 16016 | | |
16017 | 16017 | | |
16018 | 16018 | | |
16019 | 16019 | | |
16020 | 16020 | | |
16021 | 16021 | | |
16022 | | - | |
| 16022 | + | |
16023 | 16023 | | |
16024 | 16024 | | |
16025 | 16025 | | |
| |||
16041 | 16041 | | |
16042 | 16042 | | |
16043 | 16043 | | |
16044 | | - | |
| 16044 | + | |
16045 | 16045 | | |
16046 | 16046 | | |
16047 | | - | |
| 16047 | + | |
16048 | 16048 | | |
16049 | 16049 | | |
16050 | 16050 | | |
| |||
16302 | 16302 | | |
16303 | 16303 | | |
16304 | 16304 | | |
16305 | | - | |
| 16305 | + | |
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
16666 | 16666 | | |
16667 | 16667 | | |
16668 | 16668 | | |
16669 | | - | |
| 16669 | + | |
16670 | 16670 | | |
16671 | 16671 | | |
16672 | 16672 | | |
16673 | 16673 | | |
16674 | 16674 | | |
16675 | 16675 | | |
16676 | | - | |
| 16676 | + | |
16677 | 16677 | | |
16678 | 16678 | | |
16679 | 16679 | | |
| |||
16695 | 16695 | | |
16696 | 16696 | | |
16697 | 16697 | | |
16698 | | - | |
| 16698 | + | |
16699 | 16699 | | |
16700 | 16700 | | |
16701 | | - | |
| 16701 | + | |
16702 | 16702 | | |
16703 | 16703 | | |
16704 | 16704 | | |
| |||
16971 | 16971 | | |
16972 | 16972 | | |
16973 | 16973 | | |
16974 | | - | |
| 16974 | + | |
16975 | 16975 | | |
16976 | 16976 | | |
16977 | 16977 | | |
| |||
0 commit comments