React Issue

JSX element 'h1' has no corresponding closing tag.ts(17008)

JSX element ‘h1’ has no corresponding closing tag.ts(17008)

“element ‘h1’ has no corresponding closing tag.ts”. I have noticed that this is VS Code Editor’s formatter issue. Basically when you save your code, the formatter get confuse between JS & JSX. Also if you are using “Prettier – Code formatter” VS Code extension, then it might be happening for that reason also. But you …

JSX element ‘h1’ has no corresponding closing tag.ts(17008) Read More »

Scroll to Top