elm-review
elm-spa-example
Our great sponsors
elm-review | elm-spa-example | |
---|---|---|
7 | 12 | |
242 | 3,277 | |
- | - | |
7.9 | 0.0 | |
19 days ago | 6 months ago | |
Elm | Elm | |
BSD 3-clause "New" or "Revised" 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-review
-
Yet Another Tour of an Open-Source Elm SPA
It uses devbox, Elm 0.19.1, the latest Elm packages (in particular elm/http 2.0.0), elm-review, Caddy, a sprinkle of Dart Sass, and a handful of Bash scripts (one of them being a deployment script). It uses elm test and features tests for key data structures.
-
Getting rid of your dead code in ReScript
A special shout out to Elm review which has inspired how reanalyze reports code that's transitively dead.
- ESLint equivalents in Elm
-
Setting up an Elm project in 2022
The Elm community has an unofficial linter (called elm-review), which can be used to check your code for potential bugs or mistakes, or highlight a better way to write Elm. Unlike elm-format (and more similar to tools like ESLint), elm-review does not come with any default rules to follow:
-
What are some neat elm-review rules you are using?
elm-review: https://package.elm-lang.org/packages/jfmengels/elm-review/latest/
-
We chose Elm for Humio’s web UI
Glad to see more posts on Elm out there, it really is a great language and ecosystem! Like any large project, it has some issues, but in my day-to-day writing code I have never had as much fun, or had as much confidence that my code does what it says on the tin, as I have with Elm.
I wanted to give a shout out to one of Jeroen's other projects in the Elm ecosystem, elm-review (https://package.elm-lang.org/packages/jfmengels/elm-review/l...), it is an excellent linter/fixer and allows writing your own rules as well.
-
How do I Enterprise-ize Elm?
For technical debt and other code-base maintenance, I'd suggest using elm-review.
elm-spa-example
-
Yet Another Tour of an Open-Source Elm SPA
About 7 years ago, in the midst of writing Elm in Action, Richard Feldman developed rtfeldman/elm-spa-example, wrote Tour of an Open-Source Elm SPA and graciously shared both of them with the Elm community. The community's response was overwhelmingly positive and it was clear that he had addressed a major need. If you were one of the many web application developers asking "Where can I find an open-source example of an Elm Single Page Application?", then, the Elm SPA Example instantly became the canonical example that everyone was going to point you towards. This was a landmark achievement in the history of Elm.
-
I have finished reading Elm In Action
One accidentally nice thing about that book is the elm version is still the same, so everything is still relevant. As for the SPA, I think the book had to keep things simple, but you'd probably want to look into the author's elm-spa-example next, there's a talk on youtube that goes along with that and he also also a related course on frontend maters worth exploring.
-
Easy Questions / Beginners Thread (Week of 2022-08-29)
I'm following along with the update behavior of https://github.com/rtfeldman/elm-spa-example/blob/master/src/Main.elm. But I'm not sure how I propagate a message from Main.elm to User.elm to Table.elm (or deeper). How do you manage Msg passing like this?
-
What's the canonical way to style an app in Elm?
I am building my first Elm app just following the docs from the official web site. I don't see any direct mention of styling there. Looking around, I see the elm-ui project is one, elm-css is another approach, and the example SPA that Richard Feldman made just uses a stylesheet from Bootstrap, i.e., just plain CSS. If it exists, what's the canonical way of styling an app?
-
Does TEA mean single state at root?
A good example of this is the Elm-SPA example from Feldman: the Main.elm file is basically just glue code for the rest of the project (https://github.com/rtfeldman/elm-spa-example/blob/master/src/Main.elm).
-
Porting Elm to WebAssembly
After all that I've managed to reach my goal of being able to run Richard Feldman's Elm SPA Example in my system! 😃 Here's a working implementation compiled to WebAssembly. And for comparison, you can also check out the same code compiled to JavaScript. (Unfortunately the publicly available APIs don't seem to be returning very much data at the moment but there's not much I can do about that!)
-
Pelmodoro - a Pomodoro app built with Elm
Looking at the Real World application I could see that there were better ways to structure my modules using nested TEAs and keeping the Main module as a hub for everything in the app.
-
Easy Questions / Beginners Thread (Week of 2021-06-14)
If you want to see Elm code, you might look for example projects on GitHub. (https://github.com/rtfeldman/elm-spa-example comes to mind.)
-
We chose Elm for Humio’s web UI
https://github.com/rtfeldman/elm-spa-example is a good example app. I'd also recommend https://codebase.show/projects/realworld in general if you're looking for example apps in various frameworks and languages. I sadly can't share anything from work as it's all private.
-
Iced GUI tutorial or guidelines needed
- How to properly structure the project. I differentiate between my core utils and the actual gui. Iced states in the documentation that it's inspired by the Elm architecture. So naturally I've read a little bit about the proposed Elm project structure. So I basically end in a structure like this spa example directory recommended by the Elm communicty: Repo
What are some alternatives?
elm-format - elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide
elm-chorus - A web interface for Kodi/XBMC written in Elm
elm-test-rs - Fast and portable executable to run your Elm tests
ellie - The Elm Live Editor
elm-companies - 🌲 A list of companies using Elm in production.
howler.js - Javascript audio library for the modern web.
kite - An interactive visualization tool for graph theory
Elm - Compiler for Elm, a functional language for reliable webapps.
vite-plugin-elm - A plugin for Vite enables you to compile an Elm application/document/element
Dexie.js - A Minimalistic Wrapper for IndexedDB
node-test-runner - Runs elm-test suites from Node.js. Get it with npm install -g elm-test
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.