René's URL Explorer Experiment


Title: docs(service-worker): update docs to take the deprecations in #43535 into account · Issue #43665 · angular/angular · GitHub

Open Graph Title: docs(service-worker): update docs to take the deprecations in #43535 into account · Issue #43665 · angular/angular

X Title: docs(service-worker): update docs to take the deprecations in #43535 into account · Issue #43665 · angular/angular

Description: Description Once #43535 has been merged, we should update the Available and activated updates section of the Service worker communication guide (and the associated example) to not use the deprecated APIs. As part of this work, we should ...

Open Graph Description: Description Once #43535 has been merged, we should update the Available and activated updates section of the Service worker communication guide (and the associated example) to not use the deprecate...

X Description: Description Once #43535 has been merged, we should update the Available and activated updates section of the Service worker communication guide (and the associated example) to not use the deprecate...

Opengraph URL: https://github.com/angular/angular/issues/43665

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"docs(service-worker): update docs to take the deprecations in #43535 into account","articleBody":"### Description\r\n\r\nOnce #43535 has been merged, we should update the [Available and activated updates][1] section of the [Service worker communication][2] guide (and the associated [example][3]) to not use the deprecated APIs.\r\n\r\nAs part of this work, we should also update [this code-snippet][4] to not be hard-coded.\r\n\r\n##\r\nFinally, while we're at it, we could also update the [prompt-update.service.ts][5], which shows reloading the page right after calling `SwUpdate#activateUpdate()`. This is a bad example, because just reloading the page should be enough to get a new client ID and get assigned to the latest SW version. (We should clarify that `SwUpdate#activateUpdate()` is only useful if you want to update a client without reloading and that it can easily lead to version skew, so should only be used if you know what you're doing and know it to be safe for your app.)\r\n\r\n[1]: https://angular.io/guide/service-worker-communications#available-and-activated-updates\r\n[2]: https://angular.io/guide/service-worker-communications\r\n[3]: https://github.com/angular/angular/tree/9d9d05911dbd6e2f30e4c7bced0e41fd20ec4285/aio/content/examples/service-worker-getting-started/src/app\r\n[4]: https://github.com/angular/angular/blob/0e9974969dc9dee964dcfeb6f8676b0e4ad20d73/packages/service-worker/src/update.ts#L44-L54\r\n[5]: https://github.com/angular/angular/blob/9d9d05911dbd6e2f30e4c7bced0e41fd20ec4285/aio/content/examples/service-worker-getting-started/src/app/prompt-update.service.ts#L15\r\n\r\n### What is the affected URL?\r\n\r\nhttps://angular.io/guide/service-worker-communications#available-and-activated-updates\r\n","author":{"url":"https://github.com/gkalpak","@type":"Person","name":"gkalpak"},"datePublished":"2021-10-01T12:50:56Z","url":"https://github.com/angular/angular/issues/43665"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a8dd3240-2af4-d2a1-e18c-aa01daa19e77
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA1D4:1D20B7:E0822F:11B70E4:6B013F00
html-safe-nonce96dc30f6f0a06670f0b27543f53ed381ce015a11fee67ae558dc8fdb35236eae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUQ0OjFEMjBCNzpFMDgyMkY6MTFCNzBFNDo2QjAxM0YwMCIsInZpc2l0b3JfaWQiOiIxMjc0OTkwMTQyMDE2Mjc0MTc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac641316b4b891484d33dd5acbacc420290c55b57dea59a1d651f458f0309bd0f5
hovercard-subject-tagissue:1013307094
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/43665/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9f6504efaa2229da260dc3ad5a21c413df0baa10059882a65fb468741f873603/angular/angular/issues/43665
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9f6504efaa2229da260dc3ad5a21c413df0baa10059882a65fb468741f873603/angular/angular/issues/43665
og:image:altDescription Once #43535 has been merged, we should update the Available and activated updates section of the Service worker communication guide (and the associated example) to not use the deprecate...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegkalpak
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/43665#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F43665
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F43665
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/43665
Reloadhttps://github.com/angular/angular/issues/43665
Reloadhttps://github.com/angular/angular/issues/43665
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/43665
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/43665
docs(service-worker): update docs to take the deprecations in #43535 into accounthttps://github.com/angular/angular/issues/43665#top
https://github.com/gkalpak
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
area: service-workerIssues related to the @angular/service-worker packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20service-worker%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Oct 1, 2021https://github.com/angular/angular/issues/43665#issue-1013307094
#43535https://github.com/angular/angular/pull/43535
Available and activated updateshttps://angular.io/guide/service-worker-communications#available-and-activated-updates
Service worker communicationhttps://angular.io/guide/service-worker-communications
examplehttps://github.com/angular/angular/tree/9d9d05911dbd6e2f30e4c7bced0e41fd20ec4285/aio/content/examples/service-worker-getting-started/src/app
this code-snippethttps://github.com/angular/angular/blob/0e9974969dc9dee964dcfeb6f8676b0e4ad20d73/packages/service-worker/src/update.ts#L44-L54
prompt-update.service.tshttps://github.com/angular/angular/blob/9d9d05911dbd6e2f30e4c7bced0e41fd20ec4285/aio/content/examples/service-worker-getting-started/src/app/prompt-update.service.ts#L15
https://angular.io/guide/service-worker-communications#available-and-activated-updateshttps://angular.io/guide/service-worker-communications#available-and-activated-updates
gkalpakhttps://github.com/gkalpak
comp: docshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22comp%3A%20docs%22
area: service-workerIssues related to the @angular/service-worker packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20service-worker%22
on Oct 1, 2021https://github.com/angular/angular/issues/43665#event-5394190104
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Oct 1, 2021https://github.com/angular/angular/issues/43665#event-5394190185
aikithoughtshttps://github.com/aikithoughts
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
on Oct 5, 2021https://github.com/angular/angular/issues/43665#event-5412269843
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Oct 5, 2021https://github.com/angular/angular/issues/43665#event-5412269904
AndrewKushnirhttps://github.com/AndrewKushnir
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
on Feb 11, 2022https://github.com/angular/angular/issues/43665#event-6047086074
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Feb 17, 2022https://github.com/angular/angular/issues/43665#issuecomment-1043331286
#44858https://github.com/angular/angular/pull/44858
#44858 (review)https://github.com/angular/angular/pull/44858#pullrequestreview-873955152
bob-watsonhttps://github.com/bob-watson
docsarea: code-snippetshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22docsarea%3A%20code-snippets%22
on Jun 28, 2022https://github.com/angular/angular/issues/43665#event-6898043087
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Jul 3, 2022https://github.com/angular/angular/issues/43665#issuecomment-1173055661
#44858https://github.com/angular/angular/pull/44858
check-for-update.service.tshttps://github.com/angular/angular/blob/9d9d05911dbd6e2f30e4c7bced0e41fd20ec4285/aio/content/examples/service-worker-getting-started/src/app/check-for-update.service.ts#L16
SwUpdate#checkForUpdate()https://angular.io/api/service-worker/SwUpdate#checkForUpdate
prompt-update.service.tshttps://github.com/angular/angular/blob/9d9d05911dbd6e2f30e4c7bced0e41fd20ec4285/aio/content/examples/service-worker-getting-started/src/app/prompt-update.service.ts#L15
SwUpdate#activateUpdate()https://angular.io/api/service-worker/SwUpdate#activateUpdate
SwUpdate#activateUpdate()https://angular.io/api/service-worker/SwUpdate#activateUpdate
this code-snippethttps://github.com/angular/angular/blob/96c6139c9ab35aa6ab2330a5a79a5906d5c2e8be/packages/service-worker/src/update.ts#L44-L54
hard-codedhttps://angular.io/guide/docs-style-guide#hard-coded-snippets
gkalpakhttps://github.com/gkalpak
on Jul 24, 2022https://github.com/angular/angular/issues/43665#event-7051765487
gkalpakhttps://github.com/gkalpak
on Aug 26, 2022https://github.com/angular/angular/issues/43665#event-7269579623
docs(service-worker): improve docs related to `SwUpdate` APIshttps://github.com/gkalpak/angular/commit/b1f9a9e248b0253ffcd2bf0f8d48c65d7fa66b57
https://docs.github.com/articles/closing-issues-via-commit-messages
b1f9a9ehttps://github.com/gkalpak/angular/commit/b1f9a9e248b0253ffcd2bf0f8d48c65d7fa66b57
AndrewKushnirhttps://github.com/AndrewKushnir
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
c905da1https://github.com/angular/angular/commit/c905da12e2205c8a4bad6b77c0c813fe3eeeb073
on Sep 6, 2022https://github.com/angular/angular/issues/43665#event-7331929178
AndrewKushnirhttps://github.com/AndrewKushnir
on Sep 6, 2022https://github.com/angular/angular/issues/43665#event-7331929282
docs(service-worker): improve docs related to `SwUpdate` APIs (#46960)https://github.com/angular/angular/commit/7b92f214bba82dfd1e6a807b49af76709341f92a
#46960https://github.com/angular/angular/pull/46960
https://docs.github.com/articles/closing-issues-via-commit-messages
7b92f21https://github.com/angular/angular/commit/7b92f214bba82dfd1e6a807b49af76709341f92a
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Oct 7, 2022https://github.com/angular/angular/issues/43665#issuecomment-1271784053
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Oct 7, 2022https://github.com/angular/angular/issues/43665#event-7544871583
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/43665
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/43665
gkalpakhttps://github.com/gkalpak
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
area: service-workerIssues related to the @angular/service-worker packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20service-worker%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.