Commit bbe3fd7
Remove deprecated ShadowNode type aliases (#55687)
Summary:
## Changelog:
[General] [Breaking]: Removing deprecated type aliases. Use the type directly.
Remove deprecated type aliases from ShadowNode that were scheduled for deletion in 0.84:
- `ShadowNode::Shared` → use `std::shared_ptr<const ShadowNode>`
- `ShadowNode::Weak` → use `std::weak_ptr<const ShadowNode>`
- `ShadowNode::Unshared` → use `std::shared_ptr<ShadowNode>`
- `ShadowNode::ListOfShared` → use `std::vector<std::shared_ptr<const ShadowNode>>`
- `ShadowNode::ListOfWeak` → use `std::vector<std::weak_ptr<const ShadowNode>>`
Reviewed By: lenaic
Differential Revision: D903310851 parent 5b07fc1 commit bbe3fd7
File tree
2 files changed
+8
-17
lines changed- packages/react-native/ReactCommon/react
- renderer/core
- test_utils
2 files changed
+8
-17
lines changedLines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 33 | | |
46 | 34 | | |
47 | 35 | | |
| |||
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
93 | 94 | | |
94 | | - | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | | - | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
283 | | - | |
| 285 | + | |
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
| |||
289 | 291 | | |
290 | 292 | | |
291 | 293 | | |
292 | | - | |
| 294 | + | |
| 295 | + | |
293 | 296 | | |
294 | 297 | | |
295 | 298 | | |
| |||
0 commit comments