subtleGradient/language-javascript-jsx

hidden attribute disappears.

Opened this issue · 1 comments

Hi,

I found a small bug on the latest version of the package. Whenever you write the hidden attribute on any component, with a value other than a string, i.e. hidden={value}, it automatically hides the attribute on the editor.

<Component hidden={true} />

becomes:

<Component />

It really doesn't matter the value of the hidden attribute, as long as the attribute is 'hidden'.