diode
Scala library for managing immutable application model (by suzaku-io)
Airstream
State propagation and event streams with mandatory ownership and no glitches (by raquo)
diode | Airstream | |
---|---|---|
4 | 3 | |
640 | 235 | |
0.0% | - | |
0.0 | 7.9 | |
16 days ago | about 2 months ago | |
Scala | Scala | |
Apache License 2.0 | MIT License |
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.
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.
diode
Posts with mentions or reviews of diode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-12.
-
What are Diode alternatives?
I've started with scalajs-react. Overall the experience was good (perhaps the overloaded API is my biggest concern, but we can live with that). Then I stumbled upon a problem where I need to propagate a state change from two leaf components and found out I need something like this Redux thing. I trtied built-in StateSnapshot, but couldn't make it working. Then I googled for Scala-land alternatives and it seems like there are few semi-abandoned Redux facades and Diode. Diode looks like what I need, but:
-
State of Scala.js frameworks
c) Diode is my favourite "wiring" library. It is similar to Redux and allows you to handle asynchronous behaviour in your frontend. It has a learning curve but it's not too bad and makes everything so much easier.
- Back-end languages are coming to the front-end
-
From ES6 to Scala: Basics
Japgolly has put a ton of time and care into https://github.com/japgolly/scalajs-react which is a complete React binding in scalajs. This paired with something like Diode (https://github.com/suzaku-io/diode) and you get a full frontend solution in scalajs.
Airstream
Posts with mentions or reviews of Airstream.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-12.
-
2022 Laminar Ecosystem Update – new libraries, web components, tutorials, sponsors
I recommend you read the section for each of those in the readme here https://github.com/raquo/Airstream
-
What are Diode alternatives?
Don't know of any other native (to Scala) solution to state management other than Airstream
-
Stockholm Syndrome Escape Velocity (A Talk About Scala.js)
You can see one example in https://github.com/raquo/Airstream/pull/60, you'll need to copy the PR code into your own project though (it doesn't touch Airstream internals so it's easy). If you search Laminar gitter room for "websocket" you'll find other third party websocket implementations too (not sure about specific examples)
What are some alternatives?
When comparing diode and Airstream you can also consider the following projects:
tyrian - Elm-inspired Scala UI library.
scommons-react - Scala.js facades for core React.js APIs, components and hooks
wasmer-python - 🐍🕸 WebAssembly runtime for Python
Monix - Asynchronous, Reactive Programming for Scala and Scala.js.
slinky - Write Scala.js React apps just like you would in ES6
scalajs-bundler
Converter - Typescript to Scala.js converter
Demos - Demos for ScalablyTyped
scalajs-react - Facebook's React on Scala.JS
laminar-web-components - Web Component definitions for Laminar
SlinkyDemos
scommons-api - Common REST API Scala/Scala.js components