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