Skip to content

Instantly share code, notes, and snippets.

@jamesplease
Created June 8, 2017 22:13
Show Gist options
  • Save jamesplease/067acf50cf2f6714897dab90f1ad1f6a to your computer and use it in GitHub Desktop.
Save jamesplease/067acf50cf2f6714897dab90f1ad1f6a to your computer and use it in GitHub Desktop.
export class App extends Component {
render() {
const { store } = this.props;
return (
<Provider store={store} key="provider">
<Route for="dashboard" component={DashboardPage}/>
<Route for="notFound" component={NotFoundPage}/>
</Provider>
);
}
static propTypes = {
store: PropTypes.object.isRequired,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment