3min chapter

Syntax - Tasty Web Development Treats cover image

Supper Club × Visual Coding Languages With Steve Sewell

Syntax - Tasty Web Development Treats

CHAPTER

Don't Use Redux for Drag and Drop Pro Tips

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode