lustre-labs / lustre

An Elm-inspired framework for building HTML templates, single page applications, and server-rendered components in Gleam!
https://hexdocs.pm/lustre
MIT License
737 stars 52 forks source link

element.advanced uses arguments in the wrong order #63

Closed Nicd closed 3 months ago

Nicd commented 3 months ago

element.advanced passes arguments to Element so that tag and namespace are swapped: https://github.com/lustre-labs/lustre/blob/d3cc4117507801253c94e911d48a9ddbbb1048c8/src/lustre/element.gleam#L157

hayleigh-dot-dev commented 3 months ago

Good spot ^.^