JesusFilm / core

JFP DS Engineering Monorepo
https://docs.core.jesusfilm.org/
18 stars 12 forks source link

perf: children card drag #4448

Open Kneesal opened 15 hours ago

Kneesal commented 15 hours ago

Description

Issue

performance and multiple re-renders was causing dnd-kit to now work properly

Link to Basecamp Todo

Solution

NOTE: cannot test dnd as js-dom env does not have access to window.getBoundingClientRect method implemented memoization via useMemo to improve performance of components (couldn't wait until react 19 😂) added virtualization to variants tab to increase performance between tab switch.

linear[bot] commented 15 hours ago

ENG-1417 virtualise children cards