S
SolidJS7d ago
dtnc

Why are both class and classList needed?

Hi, I just went through the tutorial on solidjs website. I'm hoping to understand the rationale between having both class and classList instead of combining their functionalities into just class. Thank you for any pointer you can provide!
2 Replies
peerreynders
peerreynders7d ago
See: https://discord.com/channels/722131463138705510/722131463889223772/1247563450293551125 TL;DR: ignore classList and the functionality supported by it.
dtnc
dtncOP7d ago
ah i see. Thank you for the quick response, guys!

Did you find this page helpful?