4 ms·
I personally like React + Immutable.js (for the store) + Redux (https://github.com/rackt/redux https://github.com/rackt/redux) which is more similar to Om and a
by danneu 11y ago
I personally like React + Immutable.js (for the store) + Redux (https://github.com/rackt/redux https://github.com/rackt/redux) which is more similar to Om and apparently Elm. It's actually the first Fluxlike implementation I willingly use.
- mercurial 11y agoI'm using the same stack (minus immutable.js, but I'm thinking on it), combined with redux-simple-router. Apart from the usual problems associated with Javascript, it works pretty well, and I feel it's easy to understand what is going on. On the other hand, there are some pitfalls. Since you may need to trigger actions based on some transient state (eg, fetching data from the server), you occasionally need to set flags in your store ("my state is dirty"). Forgetting to clean up a flag will lead to tears.
- Keats 11y agoSame here, just switched to TypeScript today and it's quite nice. Not as nice than Elm in terms of tooling (those errors are much more helpful than the TypeScript one and js of course). I guess it depends whether you want the React community or don't mind a smaller one and a functional language.