2 ms·
I've commented on Svelte before [0]. Adding the same comment here - >> I've worked on multiple modern JS frameworks and Svelte is the closest I can get to mapp
by thunderbong 5y ago
I've commented on Svelte before [0]. Adding the same comment here -
>> I've worked on multiple modern JS frameworks and Svelte is the closest I can get to mapping my mental model of how a web page works (HTML, CSS, JS) with the framework.
Actually, I should correct myself - yes, the breakdown in terms of technology is HTML, CSS, JS but the underlying abstraction is actually - structure, presentation and functionality.
This is where, imho, Svelte really shines. It helps you to map your mental model of structure, presentation and functionality to it's corresponding implementation of HTML, CSS, JS with a sprinkle of syntactic sugar. This goes way far in keeping the code easy to understand and maintainable in my opinion.
[0]: https://news.ycombinator.com/item?id=26723214 https://news.ycombinator.com/item?id=26723214