cn10xdev / react-express-starter

A basic Boilerplate for React (Front-end) and Server (Back-end) rendering
MIT License
0 stars 5 forks source link

Using DOMContentLoaded Event Instead of Load in Service Worker Registration #2

Open cn10xdev opened 3 weeks ago

cn10xdev commented 3 weeks ago

The event listener in the register function listens for DOMContentLoaded instead of the more appropriate load event. This can delay service worker registration and cause unexpected behaviors. The goal is to switch to the correct event without providing the answer in this description.

mdmoghnishah commented 1 week ago

can you assign it to me