DDDaniel Dezfouliindanield.hashnode.dev·Nov 25, 2020 · 2 min readHow to solve React 17 New JSX error in VSCodeReact 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...00