Does scala.js work with scala ZIO? I'm looking to use scala ZIO with scala.js I only know how to use scala ZIO in normal apps does anyone know how to use it with scala.js?
This is not supported yet, but is planned before releasing ZIO 1.0, as stated in this GitHub issue. ZIO 1.0 should be released sometime in the next months.
A bit late, but here is an example of ScalaJS + Zio: https://github.com/sb-dev/zio-scalajs
It uses Webpack to make the compiled javascript available in the index.html file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With