One of the annoying quirks of writing HTML inside of a javascript file is that, by default, it doesn’t recognise that you’re actually writing HTML. In VS Code, this can be fixed by opening your settings.json and adding this option:
"files.associations": {
"*.js": "javascriptreact"
}
Oh happy days!
