Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Things like .vue and .svelte are really more like hints to your Editor for which linter to use, which code highlighting etc. Also your build chain I guess.

I'll admit it's annoying but it's still just "normal-ass code". Vue, for instance, is just html, JavaScript and css. A .vue file is just all three in one file with special syntax to indicate each section.

At least, last I looked at vue it was.



That's true of Vue. Svelte has a compiler which changes and augments your code with additional code for it's state management system. So it's definitely not normal code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: