File tree 4 files changed +0
-302
lines changed
cra-template/template/src
cra-template-typescript/template/src
4 files changed +0
-302
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import React from 'react';
2
2
import ReactDOM from 'react-dom' ;
3
3
import './index.css' ;
4
4
import App from './App' ;
5
- import * as serviceWorkerRegistration from './serviceWorkerRegistration' ;
6
5
import reportWebVitals from './reportWebVitals' ;
7
6
8
7
ReactDOM . render (
@@ -12,11 +11,6 @@ ReactDOM.render(
12
11
document . getElementById ( 'root' )
13
12
) ;
14
13
15
- // If you want your app to work offline and load faster, you can change
16
- // unregister() to register() below. Note this comes with some pitfalls.
17
- // Learn more about service workers: https://cra.link/PWA
18
- serviceWorkerRegistration . unregister ( ) ;
19
-
20
14
// If you want to start measuring performance in your app, pass a function
21
15
// to log results (for example: reportWebVitals(console.log))
22
16
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import React from 'react';
2
2
import ReactDOM from 'react-dom' ;
3
3
import './index.css' ;
4
4
import App from './App' ;
5
- import * as serviceWorkerRegistration from './serviceWorkerRegistration' ;
6
5
import reportWebVitals from './reportWebVitals' ;
7
6
8
7
ReactDOM . render (
@@ -12,11 +11,6 @@ ReactDOM.render(
12
11
document . getElementById ( 'root' )
13
12
) ;
14
13
15
- // If you want your app to work offline and load faster, you can change
16
- // unregister() to register() below. Note this comes with some pitfalls.
17
- // Learn more about service workers: https://cra.link/PWA
18
- serviceWorkerRegistration . unregister ( ) ;
19
-
20
14
// If you want to start measuring performance in your app, pass a function
21
15
// to log results (for example: reportWebVitals(console.log))
22
16
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments