I wish an alternative to JS for the front end would catch on and be something more than obscure... I'd love to use something like clojurescript, but I struggle to imagine doing so for anything but a personal side project :/ Maybe this is easier to adopt if you're already a clojure shop for the backend?
Don't be afraid, it's great! I certainly wouldn't call it "obscure", I've been using it for 10 years now to compile a complex app into highly-optimized client-side code. And the community is very welcoming and mature.
You should try Gleam. I'm using it in production to great delight:
https://www.scala-js.org/ is quite phenomenal.
After reading
https://hypermedia.systems/
I came to the conclusion that the best frontend is no frontend.