Angular vs. React
hackernoon.com
hackernoon.com
I also believe there is a rift starting in the industry between fp and oo and typescript loses the sudo-fp features of JavaScript.
Tl;Dr: google lost our trust. Op likes react way more after years in angular.
So, the major version number update will really be a 'minor' update that is not expected to break backwards compatibility.
So today react/vue - after all they are component frameworks, but tommorow Polymer/Angular2 (or other native web component library) which already has most of its polyfills supported natively in browsers.
ING Banking, USAToday(gannet), Youtube, Salesforce, Slack, General Electric, Electronic Arts, Coca Cola, and Google obviously - are all going web standards route - so they use web components.
In the end it will the the fastest solution and the smallest as the core of it is part of w3c standards. Even chrome UI is powered by polymer.
https://www.webcomponents.org/ has over 500 elements to pick from - its really great to build on top of that.
Whereas Vue is like the best of React/Angular 1.x, done right for the vast long tail of smaller projects that are still mostly traditional request/response, but need a bit of data-bind/XHR/websocket syncing JS into the DOM. Vue is extremely easy to drop into an existing project and use where needed, get's out of the way otherwise, and lets you have HTML/Slim/Haml still easily comprehensible/editable to your average front end designer.
I'd toss in Rivets.js too, although Vue has perhaps mostly obsoleted it, it's still sometimes handy for the most lightweight data-binding situations, which again I would argue are far more common problems for your average webdev than "spend 6-7 figures building a full SPA"
Wonder where this comes from ?
Ionic 2. Clearly. since it is webview. but nativescript doesn't make any sense.
Nativescript performance should be in the range of react native if not higher.
Overall I wouldn't recommend nativescript. It is 2 years away from where react native is currently.
If you cannot accept reacts patent issue, I recommend you look at xamarin or Cordova. Avoid nativescript, it's a complete waste of time at this moment
react native is able to launch a much more complex application within 180ms btw
Is there any example of this? specially the spaghetti code part.
As an example, I'm on the verge of starting the development of a SASS application that I would like to make available on the browser but also as a "native" app on Android and iOS.
If 'looking native' is important, you might have to add platform-specific styling, as well as a few misc. little things here and there (momentum scrolling, disallowing text selection where it doesn't make sense, etc.).
My experience has been that with relatively little work you can have an app that runs on web, iOS, Android and possibly other mobile devices. In my case these were relatively simple apps UI-wise though, so not a lot of animation and relatively basic interactions (tap, swipe).
The downsides are that making it appear fully native is probably a bunch of work (and perhaps not 100% possible), as well as the fact that you have all the drawbacks of running a mobile-browser-in-a-wrapper (battery duration? limited usage of native stuff? anyone else got some downsides to mention?).
But once you have time or money, you could then move to React-native and still reuse some of your browser-app code, API, etc., or of course you could then go the full mile and build separate native apps one at a time.
Still a cool and very opinionated article.
Can it be done? Absolutely! Did it stop me from switching from React + Redux?
Nope!