Re:Vue.js vs. React
by djur on Saturday August 19, 2017 @07:31PM
(#15056201)
I wonder if the JS snippets in those attributes is syntax checked at build time or run time.
[ Parent
| on HN ]
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.