Elm Weekly - Issue #130
Making impossible state impossible, adding event listeners to DOM nodes that don't yet exist, a collection of code patterns, and a comparison of Elm & Rust by Richard Feldman.
Articles and Discussion
Jeroen Engels and Dillon Kearns discuss two of Richard Feldman's talks, and how to apply the ideas of Make Impossible States Impossible to your codebase.
Riccardo Odone gives a couple of tips for adding event listeners to DOM nodes that are created at some point in the future: you can either use setTimeout or rely on the DOM mutation observer API.
Tools and Projects
Sebastian Porto started a collection of code patterns such as opaque types and the builder pattern.
That's it for this week!
Please help me offset the costs of Elm Weekly and support my Elm work by sponsoring me on GitHub.