3 ms·
After the app is loaded, the registerServiceWorker.js is executed. It checks for updated sources and updates the cache then. For the user to actually see those
by andyeskridge 9y ago
After the app is loaded, the registerServiceWorker.js is executed. It checks for updated sources and updates the cache then. For the user to actually see those changes, the user will need to refresh the page. The relevant lines are here [0].
[0] https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/src/registerServiceWorker.js#L18-L27 https://github.com/facebookincubator/create-react-app/blob/m...
- thameera 9y agoAwesome, thank you!