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

I wonder if the JS snippets in those attributes is syntax checked at build time or run time.


Vue templates are compiled into render functions. They are checked when the template is compiled. If you are using a build process, then that would be at build time.


Is there any editor support for that? One of the things I like about React + TypeScript is that the JSX is syntax-checked and type-checked in my editor as I type. My understanding is that this is possible because TS has built-in support for JSX.


Not yet as far as I know.




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

Search: