Browse Source
WorkflowCanvas, Header, and FloatingActionBar all used useWorkflowStore() without selectors, subscribing to the entire store. Every hoveredNodeId change triggered re-renders in all three components plus a full cascade through edges and nodes from WorkflowCanvas. - WorkflowCanvas: split into individual selectors for clipboard state - Header: wrap in useShallow with explicit field selection - FloatingActionBar: wrap in useShallow with explicit field selection Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>handoff-20260429-1057
3 changed files with 37 additions and 3 deletions
Loading…
Reference in new issue