DEV Community

Discussion on: Dark mode toggle without JavaScript enabled using SvelteKit

Collapse
 
carlosivanchuk profile image
Carlos Ivanchuk

I have a question, why do you prefer using "klass" instead of "className" like in the svelte docs? Amazing article as always.

Collapse
 
davidwparker profile image
David Parker

Oh, just probably habit I got to back in AngularJS, then React days. Never really broke out of it.