DEV Community

Discussion on: Why svelte is revolutionary

 
hanna profile image
Hanna

I find them equally understandable, but not everyone does.

Thread Thread
 
pabloabc profile image
Pablo Berganza • Edited

Isn't that the objective of Svelte? It's perfectly understandable on bigger projects. A single .svelte file is a single component. Whatever CSS or JS that's in it handles the styling or behavior of that specific component (scoped styling). Then you build your app using those building blocks. It seems more understandable than having them all in separate files.