It's also notable that react folks seem to love JSX DSLs, which are really just a slimmed down XML.
-
-
Replying to @wycats
the split between attributes/children that makes XML bad at serialization actually makes it great at markup.
1 reply 0 retweets 1 like -
Replying to @jonicklas
not always. In glimmer we needed to restore arbitrary nested expressions in attrs. JSX does it by allowing JS.
2 replies 0 retweets 0 likes -
Replying to @wycats
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.
1 reply 0 retweets 1 like -
Replying to @jonicklas
right, but then you'd fix the original problem ;)
2 replies 0 retweets 1 like -
Replying to @wycats @jonicklas
glimmer addresses it via {{my-component name=(hash x=y a=b)}} or soon: <my-component
@name={{hash x=y a=b}} />2 replies 0 retweets 0 likes
but that's by opening up the value side of attributes to something more general
1:43 AM - 27 Oct 2016
0 replies
0 retweets
0 likes
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.