Hating on Electron is hip these days, and due to it's high resource consumption, I'd argue that there's some ground to its general dislike. However, it'd probably be the easiest way to port the webapp to a fully-offline version (remember that the Python library is pretty portable and could probably be bundled as a self-contained executable). The only problem with this is that the backend eats memory like crazy (most submissions end up using 1-2 GB), so the frontend should ideally be as slim as possible to compensate.
Having an offline version would mitigate any and all "Error: Network Error" issues because everything would run locally.
Some possible options
See how VSCode manages to stay fairly optimized and potentially copy some of its tricks
Find a drop-in replacement WebView (I think there are a few Python libraries for this)
Hating on Electron is hip these days, and due to it's high resource consumption, I'd argue that there's some ground to its general dislike. However, it'd probably be the easiest way to port the webapp to a fully-offline version (remember that the Python library is pretty portable and could probably be bundled as a self-contained executable). The only problem with this is that the backend eats memory like crazy (most submissions end up using 1-2 GB), so the frontend should ideally be as slim as possible to compensate.
Having an offline version would mitigate any and all "Error: Network Error" issues because everything would run locally.
Some possible options