summaryrefslogtreecommitdiff
path: root/Headless-Drupal-A -PWA-with-Drupal-and-React-Js-Fahad/Front End/src/index.js
blob: 87d1be551891a8eccfe648e1b5a49b5751e5cad5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';

ReactDOM.render(<App />, document.getElementById('root'));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();