Skip to content

Instantly share code, notes, and snippets.

@Louiefigz
Created May 23, 2017 16:20
Show Gist options
  • Select an option

  • Save Louiefigz/e8c3f05e9985ede721076dd92010bdd8 to your computer and use it in GitHub Desktop.

Select an option

Save Louiefigz/e8c3f05e9985ede721076dd92010bdd8 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import UserInput from "./components/UserInput";
// We change the below from { AllTasks } to Tasks because we are
// exporting with default meaning there are no libraries that we are
// pulling from. Just the class Tasks.
import Tasks from './components/Tasks';
class App extends Component {
render() {
return (
<div>
<UserInput store={this.props.store} />
{/*Change AllTasks to Tasks here*/}
<Tasks />
</div>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment