mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit improves documentation related to recently improved or deprecated `SwUpdate` APIs in the following ways: - Update [check-for-update.service.ts][1] to make use of the return value of [SwUpdate#checkForUpdate()][2]. - Update [prompt-update.service.ts][3] to not call [SwUpdate#activateUpdate()][4] and just reload the page. - Update the [SwUpdate#activateUpdate()][4] API docs to explain that it is only useful if you want to update a client without reloading and that it can easily lead to version skew. - Update [a code-snippet][5] to no longer be [hard-coded][6]. [1]: |
||
|---|---|---|
| .. | ||
| e2e/src | ||
| src | ||
| example-config.json | ||
| ngsw-config.json | ||