Complete rewrite of connection lines with direct DOM manipulation

Otherkamo-internal
Shipped
৩ ফেব্রুয়ারি, ২০২৬ এ ১২:২৬ AM UTC
Author
kamo
Commit
8e3997c

Key changes: - Use direct DOM manipulation (setAttribute) instead of React state for line updates - Single rAF loop runs continuously and updates all path elements every frame - Store path refs in Map and update d attribute directly in animation loop - Use refs for connection/item data to avoid stale closures in rAF - Remove CSS transitions (don't work for SVG d attribute anyway) - Smooth frame-rate-independent animation phase calculation - Mouse position tracked in ref, updated on mousemove, used in rAF loop - Much more efficient: no React re-renders needed for line updates - Lines now update in real-time during drag, not just on drop

All changes

যেমন তুমি জাহাজ দেখেছ?

প্রত্যেকটা আপডেট স্বয়ংক্রিয়ভাবে আপনার কর্মক্ষেত্র স্বয়ংক্রিয়ভাবে. সপ্তাহের পর সপ্তাহের মধ্যে মুক্ত হয়ে তা দেখতে শুরু করুন।.

চিরকালের জন্য মুক্তকরণ আরম্ভ করা হবেপ্রদর্শন সংক্রান্ত পছন্দ