Re:Migrating from Vue 2 to Svelte
by swyx on Friday December 02, 2022 @01:45AM
(#33827626)
cool. any blessed scoped styling solution or is it the usual wild west?
[ Parent
| on HN ]
wild west? as far as CSS is concerned the cascade should be well known and for scoping its (in order of preference):
1. user 2. client 3. document
and within document its in "components", but those are unknown from the start so we defer the details (which must not but can lead to "wild west"). programming is hard, thought. would love to have that holy grail solved, too (apart from the famous three column layout).
Re:Migrating from Vue 2 to Svelte
by jakelazaroff on Friday December 02, 2022 @09:34AM
(#33830890)
CSS module works out of the box.