Commit b724611
Remove NativeMethods exports (Strict API) (#57032)
Summary:
Pull Request resolved: #57032
Actions the existing/pending deprecations in the preceding diff.
**Other changes**
- Deletes the intermediary `LegacyHostInstanceMethods` interface and migrates doc comments onto `ReactNativeElement`.
- Add user facing doc comment to `HostInstance`.
- For now, no other internal refactors to the `HostInstance` module.
**Note**: In our Flow source / Strict TypeScript API, the `NativeMethods` type was already deprecated (differing from D107119545).
Changelog:
[General][Breaking] - **Strict TypeScript API**: Remove legacy `NativeMethods` and `NativeMethodsMixin` types
Reviewed By: rubennorte
Differential Revision: D107129357
fbshipit-source-id: 3e8b52db102fe18d528ac5a0d5d975dae06176df1 parent 19f5691 commit b724611
6 files changed
Lines changed: 188 additions & 223 deletions
File tree
- packages/react-native
- Libraries/ReactPrivate
- src/private
- types
- webapis/dom/nodes
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 40 | | |
51 | 41 | | |
52 | 42 | | |
| |||
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 13 | | |
24 | 14 | | |
25 | 15 | | |
| |||
0 commit comments