These are chat archives for ThoughtWorksInc/Binding.scala

14th
Sep 2017
Vladislav Lipatov
@elite174
Sep 14 2017 08:45
Hello again. Your example was very useful, however it shows only simple routes. What about nested routes? Is it possible to deal with them using Route, or I should implement something by myself?
杨博 (Yang Bo)
@Atry
Sep 14 2017 08:48
There is no concept of "nested route" in Binding.scala. We simply use nested match/case.
Vladislav Lipatov
@elite174
Sep 14 2017 08:53
That's great! Thank you for your answer. I'm asking, because I'm about to rewrite a react project into a scala.js project. I did benchmarking yesterday (I was comparing react and binding.scala), and I discovered that they are almost the same in terms of speed. However, binding.scala "eats" more memory than react, but it's not a big deal for me. I think binding.scala is a great library, because of its simplicity.
杨博 (Yang Bo)
@Atry
Sep 14 2017 08:55
Some of memory issues are due to scala-js/scala-js#2675
Vladislav Lipatov
@elite174
Sep 14 2017 09:01
Is the binding.scala a complete library or you are about to add more functions and improvements?
杨博 (Yang Bo)
@Atry
Sep 14 2017 11:00
I don't know how to answer the question.
Is Scala a complete language?
Aron Trauring
@AronT-TLV
Sep 14 2017 13:53
@ccamel having a problem-trying to Play or look at your samples in ScalaFiddle. In the former I get a blank page & in the latter I get a message ERROR: Attempted to asign to a readonly variable