These are chat archives for reflux/refluxjs

9th
Feb 2016
Per Harald Borgen
@perborgen
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.