So it looks like I’ll need to allocate the mind/time space to learn another front end for the project…
I’ve been reviewing the pros/cons/opinions on VueJs, React, Elm, Ember…
Honestly, I don’t have enough grounding in front end libraries to make a educated choice. Nor do I have the time to learn several to find the optimal choice.
If you were going to learn just one front end, that would be robust/versatile for most projects – with a good versatility to simplicity ratio – making the learning curve not too long for the capabilities it delivers – and has a good probability of long-term development – what would that framework be as of 2017?
VueJs is lauded to have a fast learning curve.
Google trends looks like React has peaked, and VueJs is going to overtake it eventually in popularity.
Elm… takes a functional approach. Very much inline with Elixir it seems. Fast, reliable they say. No runtime errors. Question is do they have an established enough community? And what’s the learning curve going to compare with something like VueJs?
Pretty nice, but very heavy, all DOM work is done from JS, you will be doing everything from JS, your page will not work without JS, initial rendering time will not ever be instant, at all, but it does indeed look nice to work in.
Also, polymer can well outperform react/vuejs/elm in update speed. It only has a slight hit in initial processing time, which is trivial on browsers that support some of the spec, and about equal with react/vuejs/elm on other browsers (however even before that hit your initial DOM still renders, so you have a much faster time-to-initial-render with it), but later rendering only touches what changes via the wiring, no need to rebuild a virtual dom like with react or elm, and vuejs gets closer to its speed if done in very specific ways that are not always natural with vuejs.
Plus, webcomponents are becoming final standardized now, Chrome has the best native support right now, firefox and edge are both about equal but not as much (mostly missing the shadow dom, which polymer emulates fantastically and fast via its lightweight shadow dom api), so this is the way forward regardless.
Completely agree. Times were different before .getElementsByClassName and other browser standardized selector methods. And with ES5/6 array functions like .map, .sort, .forEach, etc there’s very little need for JQuery.
This isn’t universally true, and some benchmarks suggest otherwise.