ng-vdom
ng-vdom copied to clipboard
Feature: support auto fallback to attribute for special names
Expected
When JSXAttributeName contains non-alphabetic character, like:
() => <p data-foo={bar} aria-hidden />
Should be translated to HTML Attribute rather than DOM Property, like:
<p [attr.data-foo]="bar" [attr.aria-hidden]="true"></p>