Re:Using Vue.js and Rails
by corford on Thursday November 16, 2017 @01:02PM
(#15714893)
Vue lets you go the Angular route with templates or the React route (it supports JSX out of the box).
[ Parent
| on HN ]
Re:Using Vue.js and Rails
by ianstormtaylor on Thursday November 16, 2017 @03:36PM
(#15716368)
Which way are 90% of the Vue components, applications and examples written with?
I think both ways are simple enough to grok it doesn't really matter and just comes down to personal/team preference (personally, I prefer JSX).
The nice thing is Vue allows you a choice rather than making it dogma. As another commenter said, this can come in handy in certain situations (e.g. dealing with forms).