Settings

Theme

Show HN: Redux-undo-boilerplate – with hot reloading and error handling

github.com

20 points by omnidan 10 years ago · 6 comments

Reader

rrecuero 10 years ago

Really nice! I use reflux right now but I think I am going to give Redux a try for my next pet project.

In case anyone is interested of a similar one using reflux coffee, hapi,webpack with hod reloading (no undo): https://github.com/rrecuero/coffee-react-webpack-hapi-templa....

  • andy_ppp 10 years ago

    Yes me too. I think redux is pretty cool having started using it for a react native app. One thing that is slightly weird is that they suggest your single global state is shaped the same was as your reducers then you connect either top level components or others up via their props to specific parts of the state.

    Redux is very simple and more of a pattern than anything; I do definitely think it's better than Reflux.

    • omnidanOP 10 years ago

      I think it is too. Its simplicity is what allowed me to create `redux-undo` as it is - it's basically a function that returns a new reducer function which is enhanced with undo-functionality.

      So much more can be done with this concept - and it's nothing special - sometimes making things simpler is the best way to solve a problem. Redux is a great example for that.

nchelluri 10 years ago

I'm afraid I have no idea what I'm looking at...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection