Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scalajs & scala ZIO

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?

like image 520
NaseemMahasneh Avatar asked Jan 23 '19 08:01

NaseemMahasneh


2 Answers

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.

like image 174
francoisr Avatar answered Oct 05 '22 23:10

francoisr


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.

like image 36
samir benzenine Avatar answered Oct 05 '22 21:10

samir benzenine