hyperx icon indicating copy to clipboard operation
hyperx copied to clipboard

Allow custom attrToProp function

Open Siilwyn opened this issue 5 years ago • 1 comments

Would it be a good idea to allow attrToProp to accept a function? That way as a user I can transform the needed attributes. I'm mainly asking this because the hyperscript-attribute-to-property dependency is missing basic attributes like srcset & seems unmaintained. Secondly it does not include SVG attributes like stroke-linecap which in my case are used directly in the templating.

Siilwyn avatar Mar 06 '19 08:03 Siilwyn

Just wanted to note that hyperscript-attribute-to-property is maintained.

feross avatar Jul 20 '19 18:07 feross