stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.06k stars 394 forks source link

Does this work without Service Worker? #328

Closed whydna closed 5 years ago

whydna commented 5 years ago

Does this work with CRA without a service worker?

I don't use service workers (unregister called in index.js) but I am running into issue where it is flashing the homepage because it is loading index.html as the fallback.

How can I set it up to use the 200.html instead without SW?

@stereobooster

stereobooster commented 5 years ago

It is totally independent of service workers it works with and without them, as well it is independent of framework (react, vue etc), as well it is independent of bundlers (webpack, parcel etc).

You can post link to reproducible example, otherwise it is pretty hard to understand what is the issue.

stereobooster commented 5 years ago

I guess I answered the question. Feel free to open new issue if you have more questions