Comment

Comment by andreasklinger

css tends to be used with global name spacing

this becomes very quickly hard to manage

the core idea is to do what react did in js (global namespace => components) but for css

that being said i believe stuff like https://github.com/css-modules/css-modules will be a more correct solution (you can also use scss to precompile eg)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton