Skip to content

fix(jsx): transpile data attributes as strings

Transpile <div data-name={name} /> to React.createElement( 'div', { 'data-name': name }). Data attributes have a hyphen and therefore need to be strings.

Merge request reports