3 ms·
You can get facade types for any JavaScript library using https://scalablytyped.org/docs/readme.html https://scalablytyped.org/docs/readme.html . If types exist
by sjrd 4y ago
You can get facade types for any JavaScript library using https://scalablytyped.org/docs/readme.html https://scalablytyped.org/docs/readme.html . If types exists in the library itself or in DefinitelyTyped, you can use them.
sbt is not mandatory. All the build tools commonly used in Scala projects support Scala.js. For example, Maven or Mill. That said, you cannot use `npm` directly to build Scala.js libraries, indeed. npm does not have the infrastructure to talk the incremental Scala compiler, which is a must for fast development cycle.
We're trying to get a bit closer to JS tooling, notably with better tutorials and tooling targeting the like of Vite. But at the core, there is Scala tooling involved.