How to solve React 17 New JSX error in VSCode
Nov 25, 2020 · 2 min read · React v17 introduced the new JSX concept. If you are using Visual studio code, you may have this error: Cannot use JSX unless the '--jsx' flag is provided. The problem is VSCode is using typescript version 4.0.3 but actually react-jsx requires 4.1 o...
Join discussion