5

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?

Krzysztof Atłasik
  • 21,985
  • 6
  • 54
  • 76
NaseemMahasneh
  • 485
  • 5
  • 19

2 Answers2

5

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.

francoisr
  • 4,407
  • 1
  • 28
  • 48
  • 3
    @NaseemMahasneh If the above answers your question, consider *accepting* the answer. See https://stackoverflow.com/help/someone-answers – sjrd Jan 23 '19 at 12:28
1

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.

samir benzenine
  • 478
  • 4
  • 11