ts-adt
elmish
ts-adt | elmish | |
---|---|---|
4 | 14 | |
305 | 816 | |
- | 1.1% | |
0.0 | 4.4 | |
about 1 year ago | about 1 month ago | |
TypeScript | F# | |
MIT License | GNU General Public License v3.0 or later |
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.
ts-adt
-
Building React Components Using Unions in TypeScript
ts-adt
-
What makes Rust's enums so great?
FWIW, for TypeScript there are libraries such as ts-adt that help you skip over the boilerplate.
- @practical-fp/union-types - A Typescript library for creating discriminating union types
-
Rust Pattern Matching Examples for Typescript Developers
From a pattern matching perspective, Typescript is very limited in what it can do. Hence, this makes writing functional code more verbose and requires more boilerplate because you'll need to write your own matchers. See ts-adt as an example.
elmish
- A new F# compiler feature: graph-based type-checking
-
ASP.NET Core Blazor
For those interested in .NET languages with alternative compilation targets, Elmish (https://elmish.github.io/elmish/) is pretty unique.
We use F# on the front end (instead of TS), and thanks to the Fable compiler (which transpiles F# to JS, Python, Dart, PHP and Rust), most of the benefits of an Elm-style model in the UI can be ported to all sorts of different outputs languages. The rust target is in beta, but its promising because the WASM bundle size stands to be dramatically lower.
While the default is reactivity library for Elmish is React, you can swap in Avalonia/FuncUI (https://github.com/fsprojects/Avalonia.FuncUI) pretty easily as well.
-
Building React Components Using Unions in TypeScript
Naturally I’d recommend using a better language such as ReScript or Elm or PureScript or F#‘s Fable + Elmish, but “React” is the king right now and people perceive TypeScript as “less risky” for jobs/hiring, so here we are.
-
F(#)ront-end Experience like Re-Frame (clojure(script))?
Since you're familiar with React + Reframe, you can try Elmish! You can use F# to write [Elmish](https://elmish.github.io/elmish/) apps. It takes the Elm approach to building apps.
-
Produce what exactly?
Who’s paying for this? https://github.com/elmish/elmish
-
Should I pick up OCaml or Haskell?
Try F# with Elmish.
-
Functional Reactive Programming
Maybe elmish could be of interest to you? https://github.com/elmish/elmish
-
Has TypeScript made you a better developer?
I never tried Elm directly, but I have used the F# equivalent Elmish - super productive idea.
-
F# and WebAssembly
You can also get nested templates, bind inputs, and radios for example by the way don't be scared by the mutable keyword right there is just to show a brief example in a normal situation you would likely be using Elmish
-
Managing State in Comet
Comet promotes a variation of the Model-View-Update pattern popularized by The Elm Architecture, Elmish, Fabulous and others. The major parts of MVU are:
What are some alternatives?
ts-pattern - 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.
Feliz - A fresh retake of the React API in Fable and a collection of high-quality components to build React applications in F#, optimized for happiness
union-types - A Typescript library for creating discriminating union types.
type-challenges - Collection of TypeScript type challenges with online judge
fsharp.org - The F# Software Foundation website
Fable: F# |> BABEL - F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
Sutil - Lightweight front-end framework for F# / Fable. No dependencies.
Bolero - Bolero brings Blazor to F# developers with an easy to use Model-View-Update architecture, HTML combinators, hot reloaded templates, type-safe endpoints, advanced routing and remoting capabilities, and more.
ionide-vscode-fsharp - VS Code plugin for F# development
Comet - Comet is an MVU UIToolkit written in C#
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
corert - This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.