Repository navigation
Commit 907bccf
authored
[Docs] Add migration example for relations with wrapped components (#4595)
## Description
Discussion #4418 pointed out that the upgrade guide doesn't cover
migrating `withRef` + `simultaneousHandlers` on wrapped components like
`ScrollView`. This adds a short subsection under "Migrating relations"
with a code comparison and a table mapping `simultaneousHandlers`,
`waitFor` and `blocksHandlers` to `simultaneousWith`, `requireToFail`
and `block`.
Also makes the tables in the upgrade guide use `table-layout: fixed` so
the two columns are split evenly. The rule is scoped to this page, all
of its tables are two-column RNGH2 to RNGH3 maps.
## Test plan
Read docs 🤓1 parent d30f463 commit 907bccf
2 files changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
241 | 273 | | |
242 | 274 | | |
243 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
0 commit comments