Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

UnrecoverableStateEvent

An event emitted when the version of the app used by the service worker to serve this client is in a broken state that cannot be recovered from and a full page reload is required.

See more...

      
      interface UnrecoverableStateEvent {
  type: 'UNRECOVERABLE_STATE'
  reason: string
}
    

See also

Description

For example, the service worker may not be able to retrieve a required resource, neither from the cache nor from the server. This could happen if a new version is deployed to the server and the service worker cache has been partially cleaned by the browser, removing some files of a previous app version but not all.

Properties

Property Description
type: 'UNRECOVERABLE_STATE'
reason: string