Skip to content

Commit c4a33f1

Browse files
committed
Hotfix - Remove service worker
1 parent e91648a commit c4a33f1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

packages/react-scripts/template/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,10 +1366,12 @@ Learn more about React Storybook:
13661366

13671367
## Making a Progressive Web App
13681368

1369-
By default, the production build is a fully functional, offline-first
1370-
[Progressive Web App](https://developers.google.com/web/progressive-web-apps/).
1369+
**The Progressive Web App and Service Workers feature is currently disabled and will re-enabled after modificatioons.**
13711370

1372-
Progressive Web Apps are faster and more reliable than traditional web pages, and provide an engaging mobile experience:
1371+
~~By default, the production build is a fully functional, offline-first
1372+
Progressive Web App.~~
1373+
1374+
[Progressive Web Apps](https://developers.google.com/web/progressive-web-apps/) are faster and more reliable than traditional web pages, and provide an engaging mobile experience:
13731375

13741376
* All static site assets are cached so that your page loads fast on subsequent visits, regardless of network connectivity (such as 2G or 3G). Updates are downloaded in the background.
13751377
* Your app will work regardless of network state, even if offline. This means your users will be able to use your app at 10,000 feet and on the Subway.
@@ -1453,6 +1455,8 @@ option in the `SWPrecacheWebpackPlugin` section of
14531455

14541456
### Progressive Web App Metadata
14551457

1458+
**The Progressive Web App and Service Workers feature is currently disabled and will re-enabled at a later date**
1459+
14561460
The default configuration includes a web app manifest located at
14571461
[`public/manifest.json`](public/manifest.json), that you can customize with
14581462
details specific to your web application.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
33
import App from './App';
4-
import registerServiceWorker from './registerServiceWorker';
54
import './index.css';
65

76
ReactDOM.render(<App />, document.getElementById('root'));
8-
registerServiceWorker();

0 commit comments

Comments
 (0)