effect
tyrian
Our great sponsors
effect | tyrian | |
---|---|---|
25 | 24 | |
4,657 | 315 | |
25.2% | 8.3% | |
9.9 | 8.7 | |
2 days ago | 14 days ago | |
TypeScript | Scala | |
MIT License | 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.
effect
-
Exploring Effect, a meta-state RxJS-like framework
Effect is a functional library for building and composing asynchronous, concurrent, and reactive programs in TypeScript. It focuses on providing a robust and type-safe way to manage side effects in your programs.
-
A better way to handle errors in JavaScript
Just use a library that already contains this and more functional programming idioms, like fp-ts or its successor, Effect [0]. It is a little more complex to learn but much more robust that simply implementing your own Result and other types.
[0] https://www.effect.website/
- opinions about Effect-TS, do you recommend using it? when to use it? When to avoid it? not worth it?
-
Building React Components Using Unions in TypeScript
effect-ts
- Effect - A set of libraries to write better TypeScript
- Effect – A set of libraries to write better TypeScript
- Effect-ts: a library for writing ZIO-like effect-based applications
- Effect, a functional effect system for TypeScript with a rich standard library
- Effect: A functional effect system for TypeScript with a rich standard library
- Alternatives to scala FP
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?
fp-ts - Functional programming in TypeScript
Laminar - Simple, expressive, and safe UI library for Scala.js
pratica - 🥃 Functional Algebraic Data Types
scalajs-react - Facebook's React on Scala.JS
contentlayer - Contentlayer turns your content into data - making it super easy to import MD(X) and CMS content in your app
scala-webapp-template - A pragmatic skeleton to build web applications in Scala/Scala.js, including user registration, login, admin portal, and, deployments
eslint-plugin-functional - ESLint rules to disable mutation and promote fp in JavaScript and TypeScript.
Converter - Typescript to Scala.js converter
Index - ⚡ Pattern Matching in Typescript
slinky - Write Scala.js React apps just like you would in ES6
FxTS - A functional programming library for TypeScript/JavaScript
indigo - An FP game engine for Scala.