DenoDDeno
Powered by
texasrangerT
Deno•2y ago•
2 replies
texasranger

jsxImportSourceTypes not working for React

I've tried doing this:

"jsx": "react-jsx",
"jsxImportSource": "react",
"jsxImportSourceTypes": "@types/react"
"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
Loading React types cripples LSP performance · Issue #23702 · denol...
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...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Intellisense not working for typescript react.
ZweiEuroZZweiEuro / help
16mo ago
Deno + Vite + React (JS): create-vite-extra not working
MalikMMalik / help
2y ago
Deno.Command not working for application
DNADDNA / help
3y ago