Repository navigation
Commit fe224a5
committed
Load background url() images at mount on iOS
Move url() loading out of ViewShadowNode, ViewState, and
ViewComponentDescriptor. RCTViewComponentView now starts the requests
in finalizeUpdates through RCTBackgroundImageURLLoader, using the
ImageManager that RCTMountingManager passes to the component view
registry. No shared C++ or build file changes remain.1 parent f4d9407 commit fe224a5
21 files changed
Lines changed: 377 additions & 451 deletions
File tree
- packages/react-native
- ReactCommon
- react/renderer/components/view
- React/Fabric
- Mounting
- ComponentViews/View
- Utils
- scripts/cxx-api/api-snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
459 | 458 | | |
460 | 459 | | |
461 | 460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | | - | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
68 | 78 | | |
69 | 79 | | |
70 | 80 | | |
| |||
0 commit comments