Hacker News new | ask | show | jobs
by fizzbatter 4141 days ago
What specifically do you mean when you say that it doesn't play nice with serverside?

I wrote my own Flux implementation (back when it was first announced, and there were no/limited libraries for it), and i don't recall having a problem with my implementations.

I probably broke a few rules though, hard to say. I'd be curious to hear your experiences with it :)

1 comments

I can't speak for the OP, only my experience here. The docs on flux[1] recommend singletons for the dispatcher and stores. If your library is following that recommendation then things start breaking in a server-side environment as multiple requests start hitting, especially in parallel with asynchronous data retrieval.

[1]: https://facebook.github.io/flux/

Exactly, I was referring to the singleton stores and dispatcher