Elm to Gleam & Lustre – lustre.application | Always Developing #236

In this session I first ensure the new JavaScript file produced by Gleam is imported into the UI with a version param.

I then switch the example app from lustre.simple application type, to lustre.application, fixing up the function annotations and adding a proper Model as I go along.

I finish off by making sure I can get unit tests to run.

https://gleam.run
https://github.com/lustre-labs/lustre

It all started after I watched Kris Jenkin’s excellent chat with Louis Pilfold, Gleam’s creator, on Developer Voices:
https://www.youtube.com/watch?v=RntfkL8lUY4

Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS

Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones