Hi all,
I rewrote todomvc/examples/react at 1.3.1 · tastejs/todomvc · GitHub in scala.js, as an exercise and in the hope of enticing non-scala people to adopt scala.js for web development. This is the resulting repo: GitHub - anthony-cros/todomvc-scalajs-react-slinky
Note that I opted for Slinky as react facade as it seems to hit the sweet spot between an improved user experience (over ScalablyTyped’s) and the introduction of new concepts (over scalajs-react and react4s). This is mostly because I imagine people arriving from JS would look for such a sweet spot at first.
It should be noted that I have relatively little experience in webdev, as the last time I seriously touched front-end code was 2007 (JSPs…). This made for an interesting challenge: could I wrap my head around something like react via scala.js without using it in javascript first? The answer is yes, but with some caveats which I captured in this google doc. Overall the experience was very positive, but I think many aspects of the scala ecosystem would feel really overwhelming to someone used to this kind of programming experience…
I welcome any feedback on the code before I try to upstream it on the main todomvc repo!