mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-15 23:31:05 +00:00
Only fire onViewportChange (which triggers React state update + reconciliation) when a popover is actually visible (selectedNodeId or hoveredNodeId is set). This avoids forcing 60fps React re-renders during plain panning/zooming when no popover needs repositioning. Also separate prevVp* tracking from the callback gate so viewport state is always current when a node is first hovered/selected. |
||
|---|---|---|
| .. | ||
| agent-framework-python | ||
| ai-sdk | ||
| docs-test | ||
| hooks | ||
| lib | ||
| memory-graph | ||
| openai-sdk-python | ||
| pipecat-sdk-python | ||
| tools | ||
| ui | ||
| validation | ||