How to solve React 17 New JSX error in VSCode
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...
Nov 25, 20202 min read