4 ms·
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
by fizzbatter 12y 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 :)
- Bockit 12y agoI 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/ https://facebook.github.io/flux/
- andreamazz 12y agoExactly, I was referring to the singleton stores and dispatcher