Commit 284d841
Remove deprecated NativeKind class from React Native Android (#54773)
Summary:
Pull Request resolved: #54773
The NativeKind enum was part of the Legacy Architecture and is no longer used in production. Removing it simplifies the codebase and eliminates technical debt as part of the ongoing migration away from the Legacy Architecture. The affected view hierarchy optimization logic has been simplified or removed, as these optimizations are not needed in the modern architecture.
changelog: [Android][Breaking] Delete deprecated NativeKind class from React Native Android
Reviewed By: cortinico
Differential Revision: D88307704
fbshipit-source-id: bdc22e65a20b1ee0f2f9d82026cc08ab53f2fd731 parent a3a890f commit 284d841
File tree
6 files changed
+14
-153
lines changed- packages/react-native/ReactAndroid
- api
- src/main/java/com/facebook/react/uimanager
6 files changed
+14
-153
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3842 | 3842 | | |
3843 | 3843 | | |
3844 | 3844 | | |
3845 | | - | |
3846 | 3845 | | |
3847 | 3846 | | |
3848 | 3847 | | |
| |||
3971 | 3970 | | |
3972 | 3971 | | |
3973 | 3972 | | |
3974 | | - | |
3975 | 3973 | | |
3976 | 3974 | | |
3977 | 3975 | | |
| |||
Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 9 additions & 91 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 80 | + | |
86 | 81 | | |
87 | 82 | | |
88 | 83 | | |
| |||
109 | 104 | | |
110 | 105 | | |
111 | 106 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 107 | + | |
116 | 108 | | |
117 | 109 | | |
118 | 110 | | |
| |||
241 | 233 | | |
242 | 234 | | |
243 | 235 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
| 236 | + | |
257 | 237 | | |
258 | 238 | | |
259 | 239 | | |
260 | 240 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
| 241 | + | |
278 | 242 | | |
279 | 243 | | |
280 | 244 | | |
| |||
283 | 247 | | |
284 | 248 | | |
285 | 249 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
| 250 | + | |
291 | 251 | | |
292 | 252 | | |
293 | 253 | | |
| |||
315 | 275 | | |
316 | 276 | | |
317 | 277 | | |
318 | | - | |
319 | | - | |
320 | | - | |
| 278 | + | |
321 | 279 | | |
322 | 280 | | |
323 | 281 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
| 282 | + | |
342 | 283 | | |
343 | 284 | | |
344 | 285 | | |
| |||
356 | 297 | | |
357 | 298 | | |
358 | 299 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
| 300 | + | |
372 | 301 | | |
373 | 302 | | |
374 | 303 | | |
375 | 304 | | |
376 | 305 | | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
| 306 | + | |
389 | 307 | | |
390 | 308 | | |
391 | 309 | | |
| |||
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNode.java
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | 201 | | |
204 | 202 | | |
205 | 203 | | |
| |||
Lines changed: 4 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
| 313 | + | |
323 | 314 | | |
324 | 315 | | |
325 | 316 | | |
| |||
518 | 509 | | |
519 | 510 | | |
520 | 511 | | |
521 | | - | |
522 | | - | |
| 512 | + | |
523 | 513 | | |
524 | 514 | | |
525 | 515 | | |
| |||
580 | 570 | | |
581 | 571 | | |
582 | 572 | | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | 573 | | |
591 | 574 | | |
592 | 575 | | |
| |||
611 | 594 | | |
612 | 595 | | |
613 | 596 | | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
| 597 | + | |
| 598 | + | |
618 | 599 | | |
619 | 600 | | |
620 | 601 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
733 | | - | |
734 | | - | |
| 732 | + | |
735 | 733 | | |
736 | 734 | | |
737 | 735 | | |
| |||
0 commit comments