DEV Community

loading...

Discussion on: Adding a service worker into your Next.js application

Collapse
riper profile image
Magnus Bondesson

Yes the window load listener is redundant and can be removed. I just tried this and everything loads correctly.

Thanks for this great hands-on tutorial!

Thread Thread
josedonato profile image
José Donato Author

Glad you liked it. Thanks for the input!