DEV Community


Discussion on: Let Users Know When You Have Updated Your Service Workers in Create React App

sebastijandumancic profile image
Sebastijan Dumancic

Awesome stuff Gert, just implemented this and it works wonderfully. Potential bug is when user lands on the website with new SW waiting, but refreshes (or has open other tabs), after first showing of the notice to reload, it won't show up again and old service worker will still be visible.

But that's edge case, since that user will still get the new SW next time he lands on the website.

Either way, this really helped solve reloading. Thanks!

Forem Open with the Forem app