0

I am trying to update a react.js app that was created with facebook's create-react-app and that uses a registered service worker to a Next.js app to enjoy Server-Side Rendering but doesn't use a service worker.

When pushing in production, my previous users are stuck with the cached version of the old app.

Question: How can I make this update successful? All the relevant resources I could find were about updating an app that keeps a service worker..

Thank you!

Adrien
  • 531
  • 2
  • 6
  • 19
  • You might need to inline the solution provided [here](https://stackoverflow.com/questions/46881906/force-reload-skipping-service-worker-in-javascript) in index.html (which hopefully CRA proxy might not have cached). – hazardous Jun 27 '18 at 07:32
  • 1
    The approach outlined in https://stackoverflow.com/questions/33986976/how-can-i-remove-a-buggy-service-worker-or-implement-a-kill-switch should work. – Jeff Posnick Jun 27 '18 at 18:59

0 Answers0