2 ms·
Ah, the "Making debugging impossible because we're cool" kind of stack
by LoSboccacc 11y ago
Ah, the "Making debugging impossible because we're cool" kind of stack
- dang 11y agoPlease don't post dismissive comments to HN. A substantive point about the impact on debugging would of course be welcome.
- GordyMD 11y agoI 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 https://github.com/rackt/redux [2] https://www.youtube.com/watch?v=xsSnOQynTHs https://www.youtube.com/watch?v=xsSnOQynTHs
- bonobo3000 11y agoDude, 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 https://github.com/gaearon/redux-devtools