Skip to content

Instantly share code, notes, and snippets.

@naveedahmed986
Created December 29, 2020 13:51
Show Gist options
  • Save naveedahmed986/0b8b64cd5e845e19e81b0eacd2bd3781 to your computer and use it in GitHub Desktop.
Save naveedahmed986/0b8b64cd5e845e19e81b0eacd2bd3781 to your computer and use it in GitHub Desktop.
react-loading-overlay react-redux index.js
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import { Provider } from 'react-redux';
import {store} from './store';
ReactDOM.render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById('root')
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment