reactor VS Scala.js

Compare reactor vs Scala.js and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
reactor Scala.js
11 34
613 4,541
- 0.5%
7.1 9.0
about 1 month ago 3 days ago
Python Scala
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

reactor

Posts with mentions or reviews of reactor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-13.
  • Reactor, a LiveView Library for Django
    1 project | news.ycombinator.com | 29 Nov 2023
  • Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
    25 projects | news.ycombinator.com | 13 Mar 2023
  • Django equivalent to Rails Hotwire
    4 projects | /r/django | 4 Apr 2022
  • Back-end languages are coming to the front-end
    16 projects | news.ycombinator.com | 8 Feb 2022
    I'd love to see this approach make more headway in the Django community. Based on the last DjangoCon it seems like the community is coalescing around HTMX.

    This tool does play very nicely with Django's templating engine; you can just have HTMX re-render a particular template block on the server, and send down that updated block. The migration path is quite clean; you just wrap your "HTMX-updated" template block in a `hx-post` div.

    Having not gone too deep on HTMX, I'm interested in folks' thoughts on where it's lacking vs. LiveView and Hotwire. One area I can see is performance; Elixir is going to be faster than Django, and so if you're trying to handle high session counts over websockets. But the impression I get is that HTMX is a bit more light-weight, so I'm wondering if there's usecases that can't be met with it vs. LiveView.

    Other Django libraries that haven't quite seen as much uptake:

    We have https://github.com/edelvalle/reactor, and a port of Hotwire: https://github.com/hotwire-django but both of these don't seem to have much adoption (yet!).

  • Reactive Clojure: You don't need a web framework, you need a web language
    14 projects | news.ycombinator.com | 23 Sep 2021
    Thank you for posting those, I wanted to post them but I don't comment often (). Wanted to chip in another contemporary: edelvalle/reactor, which is inspired by LiveView[0].

    [0]: https://github.com/edelvalle/reactor

    I am using Hotwire for a project, and I'm learning Elixir and Phoenix on the side. Finding edelvalle/reactor was immediately helpful to me though, because I cut my teeth on Python/Django, so reading a Python reference implementation helps me learn nuts and bolts of libraries, faster. (so, I figure that this might help someone else grok how these approaches work.)

  • How to combine Rails's Ajax support and Stimulus
    9 projects | dev.to | 27 Aug 2021
    If this sounds like a barebones version of notable frameworks like Elixir's Phoenix LiveView, Rails's StimulusReflex or Hotwire Turbo, PHP's LiveWire, Django's Reactor... well, you're right! (Bonus: my colleague @jgaskins built a LiveView clone for Crystal)
  • Phoenix LiveView/Laravel LiveWire alternatives for Django
    2 projects | /r/django | 3 Jun 2021
    Reactor
  • HTML over-the-wire is the future of Web Development
    11 projects | dev.to | 4 Apr 2021
    Reactor is a LiveView library for Django. It enables you to do something similar to Phoenix LiveView using Django Channels.
  • Django with htmx for easy and efficient SPAs
    4 projects | /r/django | 25 Feb 2021
    It looks a bit similar to Elixir Live View. Or similar in Django https://github.com/edelvalle/reactor, there are a couple of libraries.
  • StimulusReflex, or LiveView for Rails
    3 projects | news.ycombinator.com | 15 Jan 2021
    Django does: https://github.com/edelvalle/reactor

Scala.js

Posts with mentions or reviews of Scala.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-01.
  • The dangers of single line regular expressions
    1 project | news.ycombinator.com | 22 Apr 2024
    `$` does mean end of input in Java, unless you explicitly ask for multiline mode. In the latter case it means `(?=$|\n)` if also in Unix-lines mode, and the horrible `(?=$|(?I wrote a compiler from Java regex to JavaScript RegExp, in which you'll find that particular compilation scheme [1].

    [1] https://github.com/scala-js/scala-js/blob/eb160f1ef113794999...

  • Typescript FP Job?
    2 projects | /r/typescript | 1 Jul 2023
  • Reconnecting with Scala. What's new?
    7 projects | /r/scala | 24 May 2023
    Links: - https://dotty.epfl.ch/ - https://scala-native.org/en/stable/ - https://www.scala-js.org/ - https://typelevel.org/ - https://zio.dev/ - https://github.com/scala-native/scala-native/pull/3120 - https://github.com/lampepfl/dotty/pull/16517 - https://dotty.epfl.ch/docs/reference/experimental/index.html - https://scala-cli.virtuslab.org/ - https://scalameta.org/metals/ - https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html - https://www.scala-lang.org/blog/2023/04/18/faster-scalajs-development-with-frontend-tooling.html - https://www.scala-lang.org/blog/2022/08/17/long-term-compatibility-plans.html
  • Rust on Espressif chips – 2023 Roadmap
    5 projects | news.ycombinator.com | 24 Feb 2023
    > Scala choices were directly dictated by JVM

    Initially, yes. But Scala has evolved beyond the JVM, with Scala.js [1] being rock-solid, and Scala Native [2] under development. Neither are truly hampered by the initial JVM roots of Scala.

    > Scala gives you a better horse

    Weird analogy ;)

    [1] https://www.scala-js.org/

  • 10 years of Scala.js
    2 projects | /r/programming | 5 Feb 2023
  • Looking for an alternative to Javascript
    2 projects | /r/functionalprogramming | 2 Feb 2023
    Have you had a look at Scala.js yet? Also see "Scala.js for JavaScript developers." and "Tour of Scala."
  • Contrary to popular belief, Scala is actually a quite small and simple language
    4 projects | /r/programming | 18 Dec 2022
    What does that have to do with language size? It also compiles to js https://www.scala-js.org/ and native https://scala-native.org/en/stable/
  • Switch JS job for Scala internship?
    1 project | /r/scala | 15 Dec 2022
    Here's a hybrid option: Scala.js. Yes, it is about building web applications but in Scala. You can retain the HTML/CSS/JS knowledge you have but build web applications from a typesafe and powerful language: Scala
  • Dropping Scala 2.11 support in Scala.js and Scala Native
    3 projects | /r/scala | 6 Dec 2022
    The compiler crash in question affects another feature that we would like to merge for the benefit of all users, namely https://github.com/scala-js/scala-js/pull/4735. Keeping 2.11 means that testing and shipping that feature is much more difficult, even for 2.12+ users only. It's not just "to fix a compiler crash".
  • Windows decide whether your computer has limited or full Internet access
    1 project | news.ycombinator.com | 19 Nov 2022
    TS is more in the "mixed feelings" department, imho.

    I would take Scala.js anytime instead. (If I would need to do front-end ever again).

    https://www.scala-js.org/

What are some alternatives?

When comparing reactor and Scala.js you can also consider the following projects:

django-unicorn - The magical reactive component framework for Django ✨

scalajs-react - Facebook's React on Scala.JS

django-htmx - Extensions for using Django with htmx.

js-scala - js.scala: JavaScript as an embedded DSL in Scala

turbo - The speed of a single-page web application without having to write any JavaScript

awesome-wasm-langs - 😎 A curated list of languages that compile directly to or have their VMs in WebAssembly

Phoenix - Peace of mind from prototype to production

sri

htmx - </> htmx - high power tools for HTML

React4s - Production ready React wrapper for Scala.js - composable lifecycle - no memoization, no macros, no implicits.

Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications

Laminar - Simple, expressive, and safe UI library for Scala.js