Skip to content

Conversation

@kleer001
Copy link
Owner

… render

  • Added nodeDataCacheRef to cache data objects for each node ID
  • Modified node creation to reuse cached data objects when node and callbacks haven't changed
  • Added cleanup logic to remove stale cache entries for deleted nodes
  • This prevents unnecessary re-renders caused by inline object recreation in GraphCanvas.tsx:156

… render

- Added nodeDataCacheRef to cache data objects for each node ID
- Modified node creation to reuse cached data objects when node and callbacks haven't changed
- Added cleanup logic to remove stale cache entries for deleted nodes
- This prevents unnecessary re-renders caused by inline object recreation in GraphCanvas.tsx:156
@kleer001 kleer001 merged commit 1b972f7 into main Nov 23, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants