SolidJSS
SolidJS3y ago
Ryan

How to stop VS Code from erroring with `Cannot find name 'React'.ts(2304)`?

VS Code is complaining with Cannot find name 'React'.ts(2304) but I am not using React at all. I have both of these in my ts config:
    "jsx": "preserve",
    "jsxImportSource": "solid-js",

How to I avoid this issue in VS Code?
Was this page helpful?