#Question: does Bun define JSX.Elements?

1 messages · Page 1 of 1 (latest)

lost needle
#

Might be a stupid question, but I'm trying to figure out how to use <dialog/> in my TSX files, but I'm getting an error that it is not defined within JSX.Elements. Is this a bun problem or should I be looking elsewhere to solve this?

gentle rock
#

most likely

#

does it happen on node too?

lost needle
gentle rock
#

does elysia have its own JSX?

lost needle
#

not to my knowledge

lost needle
gentle rock
#

@lost needle ill check back with you in a bit

fast anchor
#

You still need something to interpret the jsx

lost needle
#

nvm nvm

fast anchor
#

react-dom should do it

lost needle
#

Didn't realize Elysia uses KitaJS/html to render JSX

fast anchor
#

renderToStaticMarkup is probably what you want

lost needle
#

I just wanted to know where the typing was coming from, then I realized ctrl click exists