Don't use Redux for drag and drop system just don't use immutability. What works really well in my experience is mob x state tree, which is a bit like if you're familiar with Immer,. But more simple where you need immutability in one aspect because every dragon drops system needs an undo redo. You can observe the entire tree and make copies of the tree or patches to the tree as it changes so that becomes your history. Anything else is going to give you performance problems.
In this supper club episode of Syntax, Wes and Scott talk with Steve Sewell about Builder.io, Qwik, Partytown, and the tricks and tips he’s learned in building apps for the modern web.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Tweet us your tasty treats