elm-ts
purescript-concur-react
elm-ts | purescript-concur-react | |
---|---|---|
2 | 6 | |
301 | 265 | |
- | -0.4% | |
0.0 | 2.0 | |
over 1 year ago | 5 months ago | |
TypeScript | PureScript | |
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.
elm-ts
-
Why and How We Retired Elm at Culture Amp
> By that time, TypeScript had grown to be capable enough (and developer-friendly enough) to balance much of what sold us on Elm originally: a usable type system, good-enough error messages, etc. React had baked in some more useful state management primitives that roughly matched Elm’s “batteries included” state management.
if you like the ideas in elm but don't want to commit to it I'd encourage you to check out elm-ts (https://gcanti.github.io/elm-ts/) It has a little bit more boilerplate than elm (I find elm to be quite verbose already!) but a better experience for individuals and teams overall, I would say. It's a good example of how "TypeScript had grown to be capable enough (and developer-friendly enough) to balance much of what sold us on Elm originally: a usable type system.."
-
Flame: A PureScript front-end framework inspired by the Elm architecture
FWIW this post is about PureScript, not Elm. The library is an implementation of the Elm Architecture in PureScript. Elm is a language. The framework that goes along with it is called "The Elm Architecture". The Architecture can be implemented in any language. Here's an implementation in TypeScript: https://github.com/gcanti/elm-ts
purescript-concur-react
-
Building Mystery Mansion Madness without a UI Framework
Before 2012, all of my websites were made using HTML, CSS and a sprinkling of JS. Then, I went all-in on AngularJS, followed by React. I started using Typescript and then PureScript and learned more frameworks like Halogen and Concur. I even wrote my own UI framework called purescript-deku.
-
Flame: A PureScript front-end framework inspired by the Elm architecture
I was wondering that myself. Here's an Ajax example: https://github.com/purescript-concur/purescript-concur-react...
It could use some type signatures, but it makes sense.
As for managing state, my understanding of the Elm Architecture is that there is one "global" state data structure, and various parts of it are handed down from parent to child. So my question would be the opposite of yours: what if I want local state? Is that possible? There are situations where some toggle being on or off isn't very important and keeping track of it in a global data structure is burdensome
-
Shpadoinkle UI: Web development for Haskell
And here is an example of a fully editable tree in a handful of lines of code using signals - https://github.com/purescript-concur/purescript-concur-react/blob/master/examples/src/Test/EditHeadingsSignals.purs.
-
Progressive Disclosure of Complexity and Typed FP Languages
The author of the article might be interested in seeing the counter example in purescript-concur
What are some alternatives?
purescript-flame - Fast & simple framework for building web applications
yew - Rust / Wasm framework for creating reliable and efficient web applications
Elm - Compiler for Elm, a functional language for reliable webapps.
rxjs-hooks - React hooks for RxJS
purescript-concur-core - Concur UI library for Purescript. Core framework.
fp-ts-rxjs - fp-ts bindings for RxJS
purescript-concur-streaming-poc - A small POC for Concur async streaming without Free or Aff
fp-army-knife - 100% 🪖 code covered Functional programming 🔪 army knife
purescript-refract - Optical Purescript UI library based on React and the Elm architecture, but without the boilerplate.
Cycle.js - A functional and reactive JavaScript framework for predictable code