Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Louiefigz/a77719cb226cc53d3515e0d99e52bd1d to your computer and use it in GitHub Desktop.
Save Louiefigz/a77719cb226cc53d3515e0d99e52bd1d to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import BandInput from './components/BandInput';
import Bands from './components/Bands';
class App extends Component{
// We have to continue passing in the function store into children
// components.
render(){
return(
<div>
<BandInput store={this.props.store} />
<Bands store={this.props.store} />
</div>
)
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment