These are chat archives for reflux/refluxjs

Feb 2016
Per Harald Borgen
Feb 09 2016 18:16
@qpowell use asynchronous actions. Hook your login action up with a callback by doing Actions.login.listen(callback)
do the API call in the callback function and call this.completed / this.failure based on what you get back.
I think it's better to keep the API stuff here, rather than in the store, as the store is only for holding data.