2min chapter

Elixir Wizards cover image

Marcelo Dominguez on Command and Query Responsibility Segregation

Elixir Wizards

CHAPTER

React Redux Time Traveling

CQRS can do for you in terms of state, which is a step above an audit log. I don't know if I will pay the cost of implementing your system in CQRS for that. If it was me and people in simple probably, my naive solution would be take a snapshot of your system every 15 seconds and store that as well. Well, from like a debugging standpoint, right? So if you want to see something that went wrong in React Redux, what you can do is go backwards and forwards.

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