Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

By the way, the hypothetical reflux store in your gist is basically this: https://github.com/omniscientjs/immstruct

Thus, you can simplify to something like this: https://gist.github.com/Dashed/707664be1319bb222c7c

-------

Omniscient is still useful in that you can make your own `component` shim using their `shouldComponentUpdate()`.

I think the reflux model doesn't too synergize well with immutable-js's cursors. I found out that reflux with omniscient/immstruct ended up being one more level of indirection. Plus, I didn't need all the features that reflux provided. I even tried a super-light version of reflux.

So I replaced reflux with an augmentation upon immstruct with more useful features (a library I've yet to release). I'm still experimenting with it while investigating a nice isomorphic architecture.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: