Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
90s_dev
· 1y ago · 0 comments
True. Then can you suggest a standardized ECMAScript JSX proposal that doesn't turn this into a "children" key on an object? Would you just transform it into an array? ["foo", { bar: qux }, "baz"] ?
Comments
[–]
WorldMaker
1y ago
That array does better match the current function parameters, so would be a simpler proposal to existing transpilers.
[–]
90s_dev
OP
1y ago
Yeah it seems fine. I wouldn't be strongly opposed to it. Standardization of
either
is better than nothing.