Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
`classList` does not seem to apply the classes on render - SolidJS
S
SolidJS
โข
17mo ago
โข
3 replies
binajmen
`classList` does not seem to apply the classes on render
Here a reduced reproduction of the issue
:
https://playground.solidjs.com/anonymous/ba014c69-d95a-4e45-91cd-f95af6293f37
The issue
:
present
present
should be underline
. only when you click on
past
past
then
present
present
, then the classList is correctly applied
I suspect my
Button
Button
component should do something different regarding the
class/classList
class/classList
. I
'm not sure what
.
.
.
Any help would be greatly appreciated
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
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
classList not working on icons svg
S
SolidJS / support
4y ago
SyntaxError: The requested module 'solid-js/web' does not provide an export named 'classList'
S
SolidJS / support
3y ago
Custom ProtectedRoutes component does not render elements on URL match
S
SolidJS / support
3y ago