News for hackers. Stuff that matters.
Re:Vue.js vs. React by zpr on Saturday August 19, 2017 @11:43AM (#15053987)
One of the biggest things React has going for it, other than being maintained by Facebook and having a much larger community, is React Native. You can learn one web framework and now also make compelling, real native apps. To me those are both deal makers.

Surprised I haven't seen this mentioned more in the thread.

Re:Vue.js vs. React by XCSme on Saturday August 19, 2017 @01:31PM (#15054526)
Or you can just compile any HTML5 mobile app using Cordova and in 99% of the cases your users won't notice any performance difference between native-app and HTML5 app.
Re:Vue.js vs. React by jdiaz5513 on Saturday August 19, 2017 @03:42PM (#15055184)
Maybe for extremely simple webapps that might be true, but for any non-trivial Cordova+React based app you can't come anywhere close to the UX you can get with React Native without some extreme engineering effort. I'd much rather eat the cost to port the HTML5 app to React Native instead. Yes, the users DO notice.

Inability to have the same level of control over soft keyboard behavior is one of the top problems with Cordova, IMO.

Source: wrote & maintained a Cordova+React app on iOS/Android for 3 yrs.

Re:Vue.js vs. React by XCSme on Saturday August 19, 2017 @05:50PM (#15055822)
Yeah, you are right, I was mostly referring to the performance part. If you need native UI elements or native UI interaction it's harder to do that in a HTML5 app.

I mostly worked on games, where the UI is custom and there are very few similarities to the UI of the OS, so it worked pretty good.

Re:Vue.js vs. React by rjvir on Saturday August 19, 2017 @08:09PM (#15056302)
Yup, the marginal convenience advantages to web apps are so minimal compared to the ability to write legitimate native mobile apps.

Vue.js and Angular are complete non-starters for me since they don't have native counterparts.

Re:Vue.js vs. React by krirken on Saturday August 19, 2017 @12:10PM (#15054120)
I agree, there are many competitors to React for targeting the DOM, but there is much less competition for targeting Native. I hope to see more JSX-to-Native engines pop up soon to solve that problem.
Re:Vue.js vs. React by phatbyte on Sunday August 20, 2017 @04:14AM (#15057474)
Exactly this. In fact (as someone who only knows Swift for mobile dev) learning React was my first step to get into React-Native, so I can make iOS and Android apps.