`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
should be underline. only when you click on past
then present
, then the classList is correctly applied
I suspect my Button
component should do something different regarding the 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
2 Replies