It's also notable that react folks seem to love JSX DSLs, which are really just a slimmed down XML.
not always. In glimmer we needed to restore arbitrary nested expressions in attrs. JSX does it by allowing JS.
-
-
comma- or space-separated attributes are a symptom of a problem that really does exist. :)
-
very much agreed!
End of conversation
New conversation -
-
-
another instance where the lack of types in XML is bad. If it allowed arrays and maps as attribute values this would be much better.
-
right, but then you'd fix the original problem ;)
-
glimmer addresses it via {{my-component name=(hash x=y a=b)}} or soon: <my-component
@name={{hash x=y a=b}} /> -
but that's by opening up the value side of attributes to something more general
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.