Commit bc1d261
committed
Disable key warning when element used as type
This gets serialized as a tuple in the Flight protocol so we think it needs
a key but it doesn't. It'll error later on the client.
Fix test asserting lazy because it's not actually executing the rendering
pass on the client since the transport is not live in Noop.
Technically this doesn't error if the Shared Component renders something
that can be a type since we actually resolve this component as if it is
just some value.1 parent f973ad4 commit bc1d261
2 files changed
Lines changed: 20 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | 693 | | |
700 | | - | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
701 | 706 | | |
702 | 707 | | |
703 | 708 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1591 | 1591 | | |
1592 | 1592 | | |
1593 | 1593 | | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
1594 | 1602 | | |
1595 | 1603 | | |
1596 | 1604 | | |
| |||
0 commit comments