Nov 8 · 1 min read
Thank you for a fantastic article Federico Zivolo, really helpful! I’ve got one quick question for you. In your useEffect where you register a service worker for the onUpdate and onWaiting callbacks, you don’t provide a scriptUrl as the first parameter, is that intentional or is there something missing in the example file? Do you have a link to the full implementation as a GitHub repo or a gist somewhere?
Again, thank you for a great article. Been searching all over the place for an elegant solution to a feature like this.
