DEV Community

Discussion on: 7 Reasons Why React is King of JavaScript UI Frameworks

Collapse
 
yoquiale profile image
Alex • Edited

React doesn't suit my coding style, I prefer Vue and Angular because of the proper separation between logic, markup and style, and because they have custom directives and a better templating system. I'd rather do

<li v-for="item in items">{ item.etc}</li>
Enter fullscreen mode Exit fullscreen mode

than

items.map(item => <li>{item.etc}</li>)
Enter fullscreen mode Exit fullscreen mode

I hate it's too popular and would rather see more Vue and Angular job postings.

Collapse
 
noriller profile image
Bruno Noriller

I've learned and used Angular before React, so I know where you're coming from.

But the more I used, the more it "makes sense". But it's a fine line between just YOLO and doing whatever and actually taking the time to do it right.

With React, I do feel like it's easier to just make whatever, because it let's you and everyone out there appears to do like that.

But you can also make something that encapsulate logic from markup and style.