Open staeter opened 2 years ago
+1 that would really clean up a lot of code and make some decisions easier.
I am not sure if this is relevant for a possible implementation, just saw there is the same for Html: https://package.elm-lang.org/packages/arowM/html/latest/
I guess it would be easier to just convert Element.Attribute to a have two cases: Batched and Single.
It would be great to be able to batch attributes together into a single one. It is a seemingly small feature but it would avoid quite a bit of overhead when whiting custom and composed attributes.
Examples:
or
instead of
and