infernojs / babel-plugin-inferno

Transforms JSX to InfernoJS vNodes
MIT License
79 stars 26 forks source link

provide support for data-* and aria-* #11

Closed justinwilaby closed 8 years ago

justinwilaby commented 8 years ago

Given the template:

<button dataMyData={myDataValue} ariaSelected="true"><{buttonText}</button>

The resulting html is:

<button datamydata="someValue" ariaselected="true"><Toggle</button>

Which is invalid.

The expected result should be:

<button data-my-data="someValue" aria-selected="true"><Toggle</button>