You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
state = {boardData: {lanes: [{id: 'loading', title: 'loading..', cards: []}]}}
componentDidMount() {
setTimeout(this.getBoard.bind(this), 1000)
}
getBoard() {
this.setState({boardData: data})
}
render() {
return <Board data={this.state.boardData} />
}
}
storiesOf('Advanced Features', module).add('Async Load data', () => <AsyncBoard />, {info: 'Load board data asynchronously after the component has mounted'})