atom-react
atom-react copied to clipboard
Code colouring breaks on 'this' string inside element
'This' is being mistaken for a reference, while it is just plain text inside an JSX/HTML element.
Same for logical operators. !
and &&
are interpreted as operators, not text inside JSX:
I'm using Atom v1.11.2 and the react plugin v0.16.1.
It seems that all reserved words in JSX text nodes are highlighted when they shouldn't be.