Hacker News new | ask | show | jobs
by LoSboccacc 3917 days ago
Ah, the "Making debugging impossible because we're cool" kind of stack
3 comments

I think if you take a lot at the motivations that Dan Abramov had for creating Redux [1], you'll see that improving debugging was at the centre of it. Check out his talk he gave at React-Europe. He basically is talking about improving developer tools. The functional approach Redux takes allows for you to see state transitions and replay actions - making it relatively trivial (compared to say Angular.js) to understand how to reproduce a buggy state.

[1] https://github.com/rackt/redux

[2] https://www.youtube.com/watch?v=xsSnOQynTHs

Dude, this is half the point of redux. Theres a debugger that lets you visually step through every state of the store and your corresponding app - https://github.com/gaearon/redux-devtools
Please don't post dismissive comments to HN. A substantive point about the impact on debugging would of course be welcome.