diode
tyrian
Our great sponsors
diode | tyrian | |
---|---|---|
4 | 24 | |
640 | 315 | |
-0.2% | 8.3% | |
0.0 | 8.7 | |
13 days ago | 15 days ago | |
Scala | Scala | |
Apache License 2.0 | MIT License |
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
-
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.
tyrian
- Tyrian – The Elm Architecture for Scala.js
-
Learning Elm by porting a medium-sized web front end from React (2019)
If you want to try TEA, but not Elm I reccomend Scala.js with Tyrian[1]. Scala.js is a wonderful, mature project and Tyrian gives you the elm architecture in a very pragmatic way.
[1]: https://tyrian.indigoengine.io/
- At long last.. Tyrian (0.7.0) get's frontend routing!
-
Designing an HTML Component system
Have you looked at Laminar and Tyrian? Especially Tyrian seems to be close to what you're looking for.
-
What does the future look like?
What I wrote is obviously based on my experience as backend and data engineer. I'm so happy to see an adoption on the Frontend side (with things like Tyrian or OutWatch) and would be even happier if there was a clean path to Android. Out of curiosity, what do you find appealing in Scala, compared to e.g. Kotlin?
- Tyrian: Elm-inspired, purely functional UI library for Scala 3
- Tyrian 0.6.2 released
-
Released: Tyrian 0.6.0 & Indigo 0.14.0
Documentation can be found at https://indigoengine.io/ and https://tyrian.indigoengine.io/.
-
Monorepo: seeking for an advice for bi-lang project
Yes, I have. It didn't work out. There are quite neat libs like Tyrian, but they lack any ecosystem and I struggled to integrate it with pure JS libs - yet our app has a lot of very common components/widgets that we're really hesitating to write ourselves.
- Scala Multiplatform. Across the Universe
What are some alternatives?
wasmer-python - 🐍🕸 WebAssembly runtime for Python
Laminar - Simple, expressive, and safe UI library for Scala.js
slinky - Write Scala.js React apps just like you would in ES6
scalajs-react - Facebook's React on Scala.JS
Airstream - State propagation and event streams with mandatory ownership and no glitches
scala-webapp-template - A pragmatic skeleton to build web applications in Scala/Scala.js, including user registration, login, admin portal, and, deployments
purescript-react-basic - An opinionated set of bindings to the React library, optimizing for the most basic use cases
Converter - Typescript to Scala.js converter
SlinkyDemos
effect - A fully-fledged functional effect system for TypeScript with a rich standard library