Hacker News new | ask | show | jobs
by djur 3219 days ago
I wonder if the JS snippets in those attributes is syntax checked at build time or run time.
1 comments

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.