mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-05-15 04:40:26 +02:00
10960c5a3f
interpFlight, interpShip, and interpSat were plain arrow functions recreated on every render. Because interpTick fires every second, TrackedFlightLabels received a new function reference every second (preventing memo bailout) and all downstream useMemos closed over these functions re-executed unnecessarily. Wrap all three in useCallback([dtSeconds]) — dtSeconds is their only reactive closure variable; interpolatePosition is a stable module-level import and does not need to be listed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Former-commit-id: 84c3c06407afa5c0227ac1b682cca1157498d1a5