taiwannumberoneT
Denoβ€’3y agoβ€’
2 replies
taiwannumberone

jsx in deno

Hi, I have simple code that takes use of jsx. Based on deno docs, the jsx support should be ootb. Is there anything I need to add?
The error I get:
'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.deno-ts(2686)
(property) JSX.IntrinsicElements.img: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>
image.png
Was this page helpful?