D
Deno
T
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
.
.
.
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Intellisense not working for typescript react.
Z
ZweiEuro / help
16mo ago
Deno + Vite + React (JS): create-vite-extra not working
M
Malik / help
2y ago
Deno.Command not working for application
D
DNA / help
3y ago