Commit 8fb1641
Add back backwards compat for rawProps.at(x,y,z)
Summary:
Restores a deprecated three-argument overload of `RawProps::at()` for backwards compatibility with existing callers (like Nitro modules) that pass prefix/suffix separately.
The new overload concatenates `prefix + name + suffix` when needed and delegates to the parser's `at(string_view)` method. When both prefix and suffix are null, it forwards directly to the single-argument version.
Changelog: [Internal]
Differential Revision: D1098373881 parent 8371983 commit 8fb1641
11 files changed
Lines changed: 36 additions & 0 deletions
File tree
- packages/react-native/ReactCommon/react/renderer/core
- scripts/cxx-api/api-snapshots
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
119 | 141 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4190 | 4190 | | |
4191 | 4191 | | |
4192 | 4192 | | |
| 4193 | + | |
4193 | 4194 | | |
4194 | 4195 | | |
4195 | 4196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4034 | 4034 | | |
4035 | 4035 | | |
4036 | 4036 | | |
| 4037 | + | |
4037 | 4038 | | |
4038 | 4039 | | |
4039 | 4040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4187 | 4187 | | |
4188 | 4188 | | |
4189 | 4189 | | |
| 4190 | + | |
4190 | 4191 | | |
4191 | 4192 | | |
4192 | 4193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6407 | 6407 | | |
6408 | 6408 | | |
6409 | 6409 | | |
| 6410 | + | |
6410 | 6411 | | |
6411 | 6412 | | |
6412 | 6413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6279 | 6279 | | |
6280 | 6280 | | |
6281 | 6281 | | |
| 6282 | + | |
6282 | 6283 | | |
6283 | 6284 | | |
6284 | 6285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6404 | 6404 | | |
6405 | 6405 | | |
6406 | 6406 | | |
| 6407 | + | |
6407 | 6408 | | |
6408 | 6409 | | |
6409 | 6410 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2772 | 2772 | | |
2773 | 2773 | | |
2774 | 2774 | | |
| 2775 | + | |
2775 | 2776 | | |
2776 | 2777 | | |
2777 | 2778 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2656 | 2656 | | |
2657 | 2657 | | |
2658 | 2658 | | |
| 2659 | + | |
2659 | 2660 | | |
2660 | 2661 | | |
2661 | 2662 | | |
| |||
0 commit comments