How I fixed React Drag-and-Drop for 100k+ Row Virtual Tables
typescript
dev.to
If you’ve ever tried to build a drag-and-drop table in React, you already know the pain. Standard vertical lists are easy. But the moment you try to build a fully virtualized 2D data grid where users can drag both rows and columns simultaneously, almost every open-source library breaks down. Usually, one of two things happens: The Layout Thrash: The library uses React State/Context to track the mouse coordinates, causing 60 re-renders per second across your entire DOM tree. The Virtualizat