Closed JustinWilabyPrecor closed 8 years ago
I can confirm this is an issue, ran into this last week. I don't think it's a Babel defect. Inferno compiles to {key: value}
format rather than {"key": value}
format in its templates which causes this.
Addressed in #9
@justinwilaby I do believe JSX doesn't support using hyphen in prop names, although I may be wrong here. I'll look into it a bit further.
The following JSX fails:
aria-selected
needs to be quoted in theattrs
Object (unexpected token "-") and the boolean attributedisabled
yields a nullattribute.value
.Looks like this is a Babel defect but I'd like to confirm.