Skip to content

Add example for ServiceWorker reload on next user navigation #5602

Closed
@stereobooster

Description

@stereobooster

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions