Commit fdfec40
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 eb947b5 commit fdfec40
File tree
2 files changed
+23
-8
lines changed- packages
- react-client/src/__tests__
- react-server/src
2 files changed
+23
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | 695 | | |
702 | | - | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
703 | 711 | | |
704 | 712 | | |
705 | 713 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | 113 | | |
115 | 114 | | |
116 | 115 | | |
| |||
1591 | 1590 | | |
1592 | 1591 | | |
1593 | 1592 | | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
1594 | 1601 | | |
1595 | 1602 | | |
1596 | 1603 | | |
| |||
0 commit comments