Create-react-app: Typescript template serviceWorker.ts has a dead link

Created on 25 Oct 2019  路  2Comments  路  Source: facebook/create-react-app

Describe the bug

The Typescript template serviceWorker.ts has a dead link on line 11 (https://bit.ly/CRA-PWA) which I believe should be directing to https://create-react-app.dev/docs/making-a-progressive-web-app/

Did you try recovering your dependencies?

No this is not in the nature of the bug

Which terms did you search for in User Guide?

(Write your answer here if relevant.)

Environment

Environment Info:

  System:
    OS: Linux 5.3 Arch Linux undefined
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  Binaries:
    Node: 12.13.0 - /usr/bin/node
    Yarn: 1.19.1 - /usr/bin/yarn
    npm: 6.12.0 - /usr/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 70.0
  npmPackages:
    react: ^16.11.0 => 16.11.0 
    react-dom: ^16.11.0 => 16.11.0 
    react-scripts: 3.2.0 => 3.2.0 
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

(Write your steps here:)

  1. Open serviceWorker.ts
  2. Click on the link: https://bit.ly/CRA-PWA

Expected behavior

I expected to be taken to a page on making a progressive web app

Actual behavior

The link directs to a 404 Page not found
image

Reproducible demo

The base Typescript template "reproduces" this issue

bug report needs triage stale

Most helpful comment

The same link exists in index.js file:

// 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();

All 2 comments

The same link exists in index.js file:

// 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();

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

Was this page helpful?
0 / 5 - 0 ratings