#weird bug found on jsx

1 messages · Page 1 of 1 (latest)

winter anchor
#
const createElement = (...args) => console.log(args)

console.log(
    <embed>test</embed>
)

for some reason, if the element tag is embed, the element can't return children.
Its a really really weird bug.. I already tested on node, and works.

#

(im using a personalized jsx)

lost glacier
#

well, esbuild makes this work. maybe we should

#

meh. tsc doenst either

#

@winter anchor can you open a github issue. we should remove all of these