You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upstream in hyperx land, I merged a patch so that people won't have to use className in their template strings, but this broke the deku example for using class= in the code which is now aliased to className, which all the other hyperscript-style APIs appear to support. Several of the other APIs only support html element attributes like className, so I really can't win here without bothering somebody.
Would deku folk be open to aliasing className to class? Not because people should be writing className themselves, but because it helps with interoperability with the rest of the ecosystem.
Upstream in hyperx land, I merged a patch so that people won't have to use
className
in their template strings, but this broke the deku example for usingclass=
in the code which is now aliased to className, which all the other hyperscript-style APIs appear to support. Several of the other APIs only support html element attributes likeclassName
, so I really can't win here without bothering somebody.Would deku folk be open to aliasing
className
toclass
? Not because people should be writingclassName
themselves, but because it helps with interoperability with the rest of the ecosystem.Related: choojs/hyperx#22
The text was updated successfully, but these errors were encountered: