News for hackers. Stuff that matters.
Re:Scala.js 1.0.0-RC1 by spir on Tuesday November 26, 2019 @09:07AM (#21638345)
I recently learned that Scala.js doesn't yet support generating TypeScript *.d.ts type definitions. I intend to open a Gitcoin bounty to get this work done.

Have you had any success using Scala.js-generated JavaScript in TypeScript projects?

I'm quite interested in a full stack of create-react-app + TypeScript + graphQL + front end libraries written in Scala + back end services written in Scala.

Re:Scala.js 1.0.0-RC1 by Nullabillity on Tuesday November 26, 2019 @12:24PM (#21640392)
In general I'd advise against using Scala.js for libraries. The Scala.js runtime is pretty heavy, and Scala's and TypeScript's type systems are different enough that it tends to be difficult to design an API that feels native in both.

Have you considered ScalaJS-React[0] or Outwatch[1] instead?

[0]: https://github.com/japgolly/scalajs-react

[1]: https://outwatch.github.io/?lang=scala

Re:Scala.js 1.0.0-RC1 by brillout on Wednesday November 27, 2019 @05:36AM (#21646786)
Why GraphQL? Why not simply RPC?

E.g. for JS there is https://github.com/reframejs/wildcard-api. Is there something like that in Scala?