W010
.map over objects without key.
Fix: key={item.id} on the row root.
Status in weft@0.1.0: reported.
Triggers it:
tsx
export function A({ xs }: any) { return <ul>{xs.map((x: any) => <li>{x.name}</li>)}</ul> }More: weft docs lists.
.map over objects without key.
Fix: key={item.id} on the row root.
Status in weft@0.1.0: reported.
Triggers it:
export function A({ xs }: any) { return <ul>{xs.map((x: any) => <li>{x.name}</li>)}</ul> }More: weft docs lists.