texasrangerT
Deno2y ago
2 replies
texasranger

jsxImportSourceTypes not working for React

I've tried doing this:

"jsx": "react-jsx",
"jsxImportSource": "react",
"jsxImportSourceTypes": "@types/react"


(with proper import mapping)

but Deno nor VS Code recognize React's types. I've outlined more details here in an issue: https://github.com/denoland/deno/issues/23702
GitHub
Version: Deno 1.43.1 I was excited by the snappy performance of the LSP in VS Code for version 1.43 however as soon as you load React's types the 10+ second processing time resumes. This is the...
Loading React types cripples LSP performance · Issue #23702 · denol...
Was this page helpful?