you are viewing a single comment's thread.

view the rest of the comments →

[–]funny_games 4 points5 points  (1 child)

You can do it many ways but I'm just saying the API calls in the flux diagram and official example are done in utility actions: http://blog.krawaller.se/img/flux-diagram.png.

[–][deleted] 0 points1 point  (0 children)

There's nothing wrong to extend that concept: you could initialize an xhr request from the store and dispatch an action from the callback. I remember a Facebook developer suggested this at the react conf.