News for hackers. Stuff that matters.
Re:The 3REE Stack: React, Redux, RethinkDB and Express.js by LoSboccacc on Monday October 05, 2015 @04:19PM (#10334582)
Ah, the "Making debugging impossible because we're cool" kind of stack
Re:The 3REE Stack: React, Redux, RethinkDB and Express.js by GordyMD on Monday October 05, 2015 @04:29PM (#10334675)
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

Re:The 3REE Stack: React, Redux, RethinkDB and Express.js by bonobo3000 on Monday October 05, 2015 @04:53PM (#10334842)
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
Re:The 3REE Stack: React, Redux, RethinkDB and Express.js by dang on Monday October 05, 2015 @04:22PM (#10334613)
Please don't post dismissive comments to HN. A substantive point about the impact on debugging would of course be welcome.