What about with something that runs in WebAssembly, like .NET's Blazor?
That said, if your application is actually complex enough to warrant this upfront download cost, might make sense.
YMMV as always
EDIT: in case it wasn't obvious, I was talking about Blazor WASM not Blazor server