diff --git a/packages/react-scripts/template/src/index.js b/packages/react-scripts/template/src/index.js index fae3e3500cf..f0476eeab2f 100644 --- a/packages/react-scripts/template/src/index.js +++ b/packages/react-scripts/template/src/index.js @@ -2,7 +2,8 @@ import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; -import registerServiceWorker from './registerServiceWorker'; +//import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(, document.getElementById('root')); -registerServiceWorker(); +// Consider enabling service workers for caching and offline pages by uncommenting the following line +//registerServiceWorker();