Anton Kosykh
1 min readApr 3, 2018

--

Ofc you can use JSX in Vue, but it’s not a common practice and I’ll beter use React instead.

“String concatenation” is not the way at all, it’s a shit.

Setting some properties to component root may cause problems if some of plugins/mixins will use this property too. You probably won’t see it. Plugins pass something to $options much less. Also, it may conflict with data, methods, computed properties etc (even that plugins inject so you don’t see it again).

--

--

Anton Kosykh
Anton Kosykh

Written by Anton Kosykh

— Stricty pants nerd that sounds like total dork (according to one of the readers) — Also YOLO JavaScript Engineer

No responses yet