Interesting, choosing TypeScript over Scala.js; what does TS offer vs. working directly in Scala across the board?
Interesting, choosing TypeScript over Scala.js; what does TS offer vs. working directly in Scala across the board?
The only downside is lack of "isomorphic" code reuse which I gladly accept anyways because I rarely see server and client side code reuse as beneficial beyond simple models and validation.
Even "6to5" (previous name for Babel), which originally had as a design goal that it would emit good JS (and back then, it did!) quickly lost that when they tried to aim for spec correctness.
TypeScript actually punts on the standard in some cases (eg: TypeScript classes are not ES6 compliant) to generate more readable code, but it's still not "good" code and I certainly would never consider working with that.
I could imagine, that most JavaScript developers prefer this over nominative systems.