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
Hey. I've had trouble using an object as a class in jsx with this package. According to the preact docs and the repl on preactjs.com what's supposed to happen is that the object keys with truthy values get used as classes. Instead, I just end up with a class of [object Object]. Suggestions?
The text was updated successfully, but these errors were encountered:
Hey. I've had trouble using an object as a class in jsx with this package. According to the preact docs and the repl on preactjs.com what's supposed to happen is that the object keys with truthy values get used as classes. Instead, I just end up with a class of [object Object]. Suggestions?
The text was updated successfully, but these errors were encountered: