remote-data-ts
elm-ts
Our great sponsors
remote-data-ts | elm-ts | |
---|---|---|
2 | 2 | |
289 | 301 | |
1.4% | - | |
3.7 | 0.0 | |
6 months ago | over 1 year ago | |
TypeScript | TypeScript | |
Mozilla Public 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.
remote-data-ts
-
Multiple condition array sorting made easy
If you interested in functional programming there is great library, written by Giulio Canti - https://github.com/gcanti/fp-ts , that allready implement similar data types in same maner and even much more from functional languages world, moreover, there is big ecosystem based on fp-ts library - most exiting members are: io-ts - runtime data validation https://github.com/gcanti/io-ts, fault-tolerant and type safe data fetching by Yuriy Bogomolov - https://github.com/YBogomolov/fetcher-ts, functional type for fetched data by devexperts - https://github.com/devexperts/remote-data-ts and much more!
-
Techniques for handling unforeseen errors/failures? Especially remote calls that might fail because of flaky internet, etc?
Secondly, loading state is captured by the likes of remote-data-ts and datum.
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
What are some alternatives?
fp-ts-rxjs - fp-ts bindings for RxJS
purescript-flame - Fast & simple framework for building web applications
nest-clean-architecture - 🏛️ Nest.js clean architecture example following some DDD principles with use-cases written in functionnal programming.
Elm - Compiler for Elm, a functional language for reliable webapps.
mutoid - Reactive library for data fetching, caching, state management
rxjs-hooks - React hooks for RxJS
fp-ts - Functional programming in TypeScript
talk-typelevel-ts - Code samples for my talk “Type-level programming in TypeScript”
fp-army-knife - 100% 🪖 code covered Functional programming 🔪 army knife
io-ts - Runtime type system for IO decoding/encoding
purescript-concur-core - Concur UI library for Purescript. Core framework.