Gleaming Wails: Making illegal states impossible in the Gleam frontend | Always Developing #254

Live coding an app with Gleam, Lustre, Go and Wails.

In this session I fix the Gleam & Lustre app’s data model to consolidate the multiple fields related to tracking the state of the daemon down to a single field. The new field uses it’s own type which represents the allowed states only.

Snippet Expander:- https://snippetexpander.org

Source Code: https://git.sr.ht/~ianmjones/snippetexpander

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

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

Tech Used:
Gleam:- https://gleam.run
Lustre:- https://hexdocs.pm/lustre
Go:- https://golang.org
Wails:- https://wails.io