Closed ulivz closed 6 years ago
A replacement of #8. The difference is that when we found a waiting service worker, it means that a new service worker has been installed, so we don't need to bind onupdatefound.
waiting
onupdatefound
Ref: 《How to Fix the Refresh Button When Using Service Workers》> Approach #3
A replacement of #8. The difference is that when we found a
waiting
service worker, it means that a new service worker has been installed, so we don't need to bindonupdatefound
.Ref: 《How to Fix the Refresh Button When Using Service Workers》> Approach #3