Jun 8, 2021
Have you looked at Scala.js? Especially with the changes for Scala 3, I think it addresses all of your concerns and more. In my experience, it is far more robust than TypeScript as an option for doing client-side development with type error detected at compile time.