Commit Graph

1 Commits

Author SHA1 Message Date
ruinivist 80e53ef03c perf: memoize Excalidraw API callback to prevent full canvas re-renders
This optimization prevents the `EditorCanvas` (and thereby the heavy `@excalidraw/excalidraw` component) from re-rendering due to prop instability of the inline `onExcalidrawAPI` function in `PrivateApp` when parent state changes. This mitigates severe UI input lag.

A new entry was also added to `.jules/bolt.md` documenting this insight.
2026-06-07 07:41:04 +00:00