Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for ServiceWorker reload on next user navigation #5602

Closed
stereobooster opened this issue Oct 8, 2017 · 1 comment
Closed

Add example for ServiceWorker reload on next user navigation #5602

stereobooster opened this issue Oct 8, 2017 · 1 comment

Comments

@stereobooster
Copy link

Complicated story. There is this practice with ServiceWorkers to show toast if new content is available and suggest user to reload browser. I see simpler solution here, instead of showing this message simply reload browser on next navigation. I suppose it is easy to do custom link component, which will render simple <Link> by default and in case of new content in SW it will render <a>, which will trigger reload in browser when clicked. WDYT?

@timdorr
Copy link
Member

timdorr commented Oct 8, 2017

A PR would be better to discuss this.

@timdorr timdorr closed this as completed Oct 8, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants