Hacker News new | ask | show | jobs
by namuol 4147 days ago
It's great to see more example Flux projects using different implementations, but what we really need is just one larger and more sophisticated app example.

I've been adapting a React-based app to the Flux architecture for the last week or two. I constantly find myself scratching my head, especially regarding asynchronous operations that need to be reflected in the View.

It would be nice for the mock API in these examples to "simulate" a poor network connection in order to see how asynchronous error handling is best handled in each implementation, for instance.

1 comments

That's why we created https://github.com/jhollingworth/marty-chat-example. It's got proper examples of using HTTP & WebSockets
Ha, I actually submitted an issue to this yesterday. It's a good example but misses some really important (i.e. usually-confusing) stuff: error/failure handling and rollbacks.