You don't need to write tons of JavaScript code to create a JavaScript-friendly MVVM app. Let DotVVM can take over. Here's a basic tutorial for developing with it ...
First introduced in Safari Technology Preview 46, Service Workers allow background scripts to power offline web applications and should make it possible (for example) for developers to build Web apps ...