I tried Razor. It's mature, has tons of features, and it's very fast. But it only really solves rendering HTML.
You will still need to integrate Vite somehow to use modern CSS, TS, etc. And if you do that, why even use Razor to begin with?
Also, hot reload is garbage. C# will never get close in speed or features to something like Vite.