News for hackers. Stuff that matters.
Re:Svelte – A UI framework that compiles into tiny standalon... by ChemicalScum on Wednesday November 30, 2016 @07:01AM (#13070016)
I like how they solved scoped css. Looks way more elegant than most css-in-js solutions I've seen. I could give it a shot for this reason alone.
Re:Svelte – A UI framework that compiles into tiny standalon... by toddmorey on Wednesday November 30, 2016 @07:42AM (#13070217)
Always one of my favorite features of riotjs
Re:Svelte – A UI framework that compiles into tiny standalon... by ergo14 on Wednesday November 30, 2016 @06:53PM (#13075799)
Web components and polymer solve this problem "completly" by full encapsulation.

With some css preprocessing + vulcanizing you can even use separate js/css files from your component templates if that is your thing - they can get inlined in the build process.

Re:Svelte – A UI framework that compiles into tiny standalon... by santialbo on Wednesday November 30, 2016 @07:06AM (#13070038)
Angular2 is doing a similar thing.