Skip to content

Instantly share code, notes, and snippets.

@EdsonAlcala
Created April 7, 2018 07:24
Show Gist options
  • Select an option

  • Save EdsonAlcala/eed191fa53e06fdbbeeb11b51a5c63c6 to your computer and use it in GitHub Desktop.

Select an option

Save EdsonAlcala/eed191fa53e06fdbbeeb11b51a5c63c6 to your computer and use it in GitHub Desktop.
import React from 'react';
import PropTypes from 'prop-types'
import Routes from './Routes';
import { Provider } from 'react-redux';
import './App.css';
class App extends React.Component {
render() {
return (
<Provider className="app" store={this.props.store}>
<Routes />
</Provider>
);
}
}
App.propTypes = {
store: PropTypes.object.isRequired
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment