Commit 1b5e20c
Calll the ShadowNode::cloneMultiple callback for each cloned node
Summary:
The original intention by the cloneMultiple method was to give the possibility of defining the cloning method only for the nodes definied by the list of families. But this way it is impossible to for example set the value of `runtimeShadowNodeReference` in the fragment, so instead we now pass the responsibility of cloning to the user for all the cloned nodes.
# Changelog
[General] [Changed] - cloneMultiple now invokes the callback for every cloned node, instead of doing that only for the nodes in `familiesToUpdate`
Differential Revision: D858521431 parent 5c078bd commit 1b5e20c
1 file changed
Lines changed: 4 additions & 10 deletions
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | 415 | | |
417 | 416 | | |
418 | 417 | | |
| |||
430 | 429 | | |
431 | 430 | | |
432 | 431 | | |
433 | | - | |
434 | | - | |
| 432 | + | |
| 433 | + | |
435 | 434 | | |
436 | 435 | | |
437 | 436 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 437 | + | |
443 | 438 | | |
444 | 439 | | |
445 | 440 | | |
| |||
479 | 474 | | |
480 | 475 | | |
481 | 476 | | |
482 | | - | |
483 | | - | |
| 477 | + | |
484 | 478 | | |
485 | 479 | | |
486 | 480 | | |
| |||
0 commit comments