Using the Builder Pattern for Elm Components
I had the opportunity to build some components and quickly found many needed a lot of parameters. Below is a strategy on how to make them less verbose, type safe regardless of order, and it won't cause existing code to break when you add new features.
Tags: elm, javascript, webcomponents