Fable.Lit
Write Fable Elmish apps with Lit (by fable-compiler)
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 (by Zaid-Ajaj)
Fable.Lit | Feliz | |
---|---|---|
9 | 20 | |
83 | 522 | |
- | - | |
0.0 | 6.1 | |
about 1 year ago | about 1 month ago | |
F# | F# | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Fable.Lit
Posts with mentions or reviews of Fable.Lit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-07.
-
How do I understand the build system in modern F# web projects?
The other major frameworks I use are tailwindcss for styling and Fable.Lit for the views.
-
What do people use for REST APIs and Web Development now?
Lit for Lit components.
- [Presentation] Fable.Lit
-
F(#)ront-end Experience like Re-Frame (clojure(script))?
The Feliz DSL https://zaid-ajaj.github.io/Feliz/ looks fairly similar to Reagent or there's Fable.Lit https://fable.io/Fable.Lit/ which is more like jsx in that you write the html directly, adding active components via interpolated string mechanisms. There is a VS Code add in that gives you html+css syntax highlighting and auto complete inside your F# files.
-
Exploring The F# Frontend Landscape
This is my personal favorite one when it comes to Fable options, Fable.Lit builds on top of lit.dev which is a web component library built on web standards. It brings performant straightforward and inter-framework compatible components to the F# FE landscape since Lit works with DOM elements themselves rather than abstractions you can manipulate component instances like if you were doing vanilla JavaScript except that you can use the F# safety for that.
-
Building a Webpack alternative in F#
Around September vite got traction with the vue user base and other users as well. I also studied a bit the vite source code, and even used it for some Fable material for posts. I was trying to make some awareness of Fable.Lit support for Web Components and I wanted to experiment in reality how good vite was, and boi it's awesome If you're starting new projects that depend on node tooling in my opinion, it's your best bet.
-
Fable is a compiler that brings F# into the JavaScript ecosystem
I don't know a ton about Fable, but they recently wrapped Google's Lit to allow building functional templating and web components in it: https://fable.io/Fable.Lit/
Seems like a neat project.
-
Creating Web Components with Fable.Lit
Try Lit.Fable today!
-
Using lit-html with F#
Check the fable.lit github repository to see also ways to interact with inter-operate Lit + React within Fable!
Feliz
Posts with mentions or reviews of Feliz.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-24.
-
Exploring a foreign F# codebase
NOTE: You can try this with the Feliz codebase, which is larger and has multiple .fsproj files. But as you will find out, the project structure is laid out just like we've seen here.
-
What do people use for REST APIs and Web Development now?
Feliz to create react apps, the most mature option.
-
F(#)ront-end Experience like Re-Frame (clojure(script))?
The Feliz DSL https://zaid-ajaj.github.io/Feliz/ looks fairly similar to Reagent or there's Fable.Lit https://fable.io/Fable.Lit/ which is more like jsx in that you write the html directly, adding active components via interpolated string mechanisms. There is a VS Code add in that gives you html+css syntax highlighting and auto complete inside your F# files.
-
OCaml programmer with some noob F# ecosystem questions
Feliz is a DSL for React, and paired with Vite give a hot reload experience that's close to the same as JS/TS, even the React dev tools work fine. Nobody has a ready to go package/template up right now but there's little stopping you from creating a NextJS app.
-
"redesign" of my Terminal.Gui.Elmish Project
It means it's similar to the Feliz DSL used to build React web apps: https://zaid-ajaj.github.io/Feliz/
-
Exploring The F# Frontend Landscape
Feliz
- A fresh retake of the React API in Fable
-
Minimalistic fluent api in C# to create complex reactive Avalonia applications
I'm curious to see how this goes, F# seems to excel at these type of DSL's (e.g. Feliz, a react DSL is a joy), a big part thanks to type inference and list comprehensions which are a game changer for that pesky conditional rendering.
-
F# and WebAssembly
if you've ever used Feliz or Avalonia.FuncUI then this DSL will make you feel at home, it's less verbose than the original DSL and gives you basically the same benefits, in the case of Fun.Blazor is slightly less performant but it is a viable alternative
-
Fable is a compiler that brings F# into the JavaScript ecosystem
Along with Fable highly recommend a look at Feliz. A joy to work with and its ViewEngine can also be separately used w/ Giraffe if you enjoy the syntax:
https://zaid-ajaj.github.io/Feliz/
https://github.com/Zaid-Ajaj/Feliz
What are some alternatives?
When comparing Fable.Lit and Feliz you can also consider the following projects:
vite - Next generation frontend tooling. It's fast!
fable-react - Fable bindings and helpers for React and React Native
fast - The adaptive interface system for modern web experiences.
elmish - Elm-like abstractions for F# apps
Fable: F# |> BABEL - F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
React - The library for web and native user interfaces.
awesome-fable-react-native - An awesome list about to use Fable with ReactNative 🧚♀️
Sutil - Lightweight front-end framework for F# / Fable. No dependencies.
fs-components
Avalonia.FuncUI - Develop cross-plattform GUI Applications using F# and Avalonia!