Removing React.StrictMode makes your drag-and-drop functionality work because React.StrictMode causes components to render twice in development mode. This double rendering can interfere with the way react-beautiful-dnd tracks elements, leading to unexpected behavior.