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

Completely agree! Single-file components are more natural to how I think about the web.

It's worth noting that Vue also supports render functions with JSX (https://vuejs.org/v2/guide/render-function.html).



One of the reasons I moved to vue was the template section allowed normal html. Saved me so much time styling.

I do like jsx for simple things but always felt it bogged down the design piece having to convert even if its just the class to className




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

Search: