Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Why are both class and classList needed? - SolidJS
S
SolidJS
โข
11mo ago
โข
2 replies
ctrl-z
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
class
.
Thank you for any pointer you can provide
!
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
`class` vs `classList` behaviour
S
SolidJS / support
2y ago
how do i make my component to accept class and classList ?
S
SolidJS / support
4y ago