Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Cannot find name 'React' when using Astro + TypeScript - SolidJS
S
SolidJS
โข
3y ago
โข
6 replies
Wes
Cannot find name 'React' when using Astro + TypeScript
I configured my Astro project to use SolidJS and even though I added the required
tsconfig.json
tsconfig.json
VSCode highlights every JSX tag with an error
:
Cannot find name 'React'.ts(2304)
Cannot find name 'React'.ts(2304)
Astro compiles and runs fine
, and
tsc --noEmit
tsc --noEmit
also shows no errors
.
Am I missing something
?
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,275
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
VsCode: Cannot find name react
S
SolidJS / support
2y ago
Cannot run React alongside SolidJS in Astro
S
SolidJS / support
11mo ago
How to stop VS Code from erroring with `Cannot find name 'React'.ts(2304)`?
S
SolidJS / support
3y ago
Cannot find module
S
SolidJS / support
2y ago