Index used as key in BOMPanel and CutListPanel lists #22

Closed
opened 2026-06-07 01:47:43 +00:00 by Mark · 0 comments
Owner

Using array index as React key causes issues with item reordering/animations.

  • BOMPanel.tsx:73 - key={idx} on BOM items
  • CutListPanel.tsx:62 - key={idx} on cut list items
  • CutListPanel.tsx:119 - key={cidx} on cut items

Rule violated: exit-key-required

Using array index as React key causes issues with item reordering/animations. - BOMPanel.tsx:73 - `key={idx}` on BOM items - CutListPanel.tsx:62 - `key={idx}` on cut list items - CutListPanel.tsx:119 - `key={cidx}` on cut items Rule violated: exit-key-required
Mark closed this issue 2026-06-14 08:18:34 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/parametric-furniture-cad#22
No description provided.