Tried to deal with the architecture of alt and flux
I can not understand why the collector swears at the decorator @bind
Here is the source code of the file where the error occurs:
import alt from '../alt' import Actions from '../actions' import {decorate, bind, datasourse} from 'alt-utils/lib/decorators' @decorate(alt) class ChatStore { constructor() { this.state = {user: null} } @bind(Actions.login) login(user) { this.setState({user: user}) console.log('ChatStore user', user); } } export default alt.createStore(ChatStore) Here's the full version of the source code: https://bitbucket.org/AtNovember/studyflux/
