This question comes up enough that I’m writing a guide on it now.
I don’t use any CSS framework except CSS modules. I was going to write the guide without module support and add a section about it near the bottom.
There’s some really simple patterns you can follow with built-in JS features to make this easier.
codingdave•9mo ago
So... it happens. But I use SPAs for internal apps, not public web sites, so despite my knowing such things exist, I got no links to share.