`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
webstrand
webstrand3w ago
can you provide a source for that deprecation claim? I currently use classList everywhere ah. clsx doesn't seem to provide any way to disable classes, that's unfortunate. Thanks, I hope its only a soft-deprecation, then
binajmen
binajmenOP3w ago
thank you for your answer 😉
Want results from more Discord servers?
Add your server