Electron app for front end ? all data is local ... backend is blockchain

If you host your static assets outside of the Internet Computer then you will miss out on security features that are included in the service worker. You could host the service worker itself inside your electron app, similar to https://github.com/dfinity/icfront, or develop those features into an agent-electron library :wink: