# RxTags - simple reactive ScalaJS

**URL:** <https://users.scala-lang.org/t/rxtags-simple-reactive-scalajs/6928>\
**Category:** Libraries\
**Created:** [November 29, 2020, 10:01am UTC](https://users.scala-lang.org/t/rxtags-simple-reactive-scalajs/6928 "2020-11-29T10:01:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sake92](https://users.scala-lang.org/user_avatar/users.scala-lang.org/sake92/32/3266_2.png) [@sake92](https://users.scala-lang.org/u/sake92)\
**Post date:** [November 29, 2020, 10:01am UTC](https://users.scala-lang.org/t/rxtags-simple-reactive-scalajs/6928/1 "2020-11-29T10:01:04Z")

</div>

Why?  
Looking at existing UI libraries I felt like we could have something simpler and beginner friendly in Scala. Just create a simple Var and render it!

I looked into ReScala and it almost had everything, except DOM diffing. E.g. when you change model on a onkeyup event, it renders a new input element. That means you lose focus on it, which is terrible.

So then I just connected ScalaTags with Reactify, and implemented the diffing part.

It probably has some glitches, but it is useful for smaller projects at least!  
Todo-MVC example works flawlesly.
