r/javascript • • Jan 31 '17

Front-End Developer Handbook 2017

https://www.gitbook.com/book/frontendmasters/front-end-handbook-2017/details
438 Upvotes

47 comments sorted by

View all comments

88

u/Crashthatch Jan 31 '17

I particularly liked the Recap of Front-end Development in 2016:

  • The year of the UI component, and tree of UI components, for building complex UI's.

  • No longer mainstream development blasphemy: components being constructed from a single file, potentially contain HTML, CSS, and JS, IN ONE FILE!

  • React, Redux, Webpack, ECMAScript 2015 (aka ES6), and Babel gain massive adoption. These solutions rise to the top of all the polls as the most used tech.

  • Developers realized, in most cases, HTML 5 hybrid mobile development via webviews doesn't provide enough wins when building native apps.

  • React Native and NativeScript start to replace mobile HTML5 hybrid webview development.

  • Many abandon Gulp for NPM scripts, but Gulp remains popular.

  • SASS remains a popular tool, while PostCSS (+ CSSNext) gains ground.

  • Linting/Hinting HTML, CSS, and JavaScript is a thing most developers do (ESlint replaces JShint & JSCS merges into ESLint).

  • A trend of developers abandon Sublime and Atom for Visual Studio Code begins.

  • jQuery remains, but usage/interest is declining. jQuery 3 was released, much like a tree falling in a forest that nobody hears.

  • Vue.js continues to gain converts. Deservingly so!

  • JavaScript functional programming & patterns get a lot of attention.

  • Offline development & Progressive Web Apps go mainstream.

  • Microsoft shows up and contributes.

  • Developing native applications for windows, OSX, and linux using things like NW.js and

  • Electron via web technologies becomes a thing.

  • Angular 2 (in the future aka "Angular") gets off the pot and most realize it will never be as mainstream as Angular 1.

  • JavaScript broadly remains at the center of software technologies.

  • More developers start caring about tooling (e.g. automation) and testing.

  • Static site generators are taken seriously.

  • CSS Grid excitement grows and the future looks bright.

  • NPM gets some competition from YARN.

  • The next evolution of React-like solutions shows up via Preact, Deku, Rax, and inferno showcasing evolution without much API change.

  • Mostly people learn to not only accept JSX they can't imagine not using it.

  • A workable CSS module pattern (CSS encapsulation) is actualized and used, thus CSS in JS becomes a viable solution for many.

  • More people turning to UI functional/integration testing including concepts like visual

  • CSS & RWD regression testing.

  • The days of battling inconsistent browser API's are almost behind us due to a massive decline in usage and development for older versions of IE.

  • Most everyone realized they will have to have a multi-device strategy plan when development for the web

  • More developer, from other languages, continue to flood the JavaScript space bringing with them things like type checking and an obsession with class syntax and OOP concepts.

  • Front-end devs are introduced to Hot Module replacement techniques and time travel debugging.

  • More waiting for a native JavaScript browser module loader.

  • Enforcing CSS and JavaScript style conventions becomes more important (considering

  • ES3 to ES6 code and CSS pre-processors syntactical variations)

  • A small but noticeable number of developers are starting to chose Elm over JavaScript.

  • TypeScript gets some serious use and fanboys.

  • http://aurelia.io/ becomes the smart choice for enterprise developers (i.e. support!).

  • Webpack gets its act together and solidifies is position over the superior JSPM solution.

  • HTTPS, yeah, we're serious about that.

  • BASH on windows happen.

  • The notifications API gets used and abused for chrome users, but only after you give it permission.

  • Firebug officially dead.

  • CSS 20 years young in 2016.

  • Immutability concepts run rapid.

And predictions for 2017:

  • Web Assembly, might just peak.

  • import might just be usable in <scripts></scripts>

  • Universal JavaScript solutions will continue to rise that pay homage/respect to the days of server delivered front-ends (i.e. html to the client).

  • Reactive programming continues to thrive in the JavaScript scene. (see MobX and RxJS).

  • React, more so the concept, will dominate. React itself will be completely re-written (see

  • React Fiber) or evolve (see Inferno).

  • Angular found SEMVER so Angular 3, 4 (even 5) is on the roadmap for 2017.

  • A return to simple websites may happen, web 1.0 retro, but with the help of 2017 tools (i.e. static site generation)

  • RESTful JSON APIs will get more competition (see GraphQL)

  • Could be a banner year for Vue.js.

  • More devs will abandon traditional CMS solutions for static site generators & API CMStools.

  • More people will move from Sass to PostCSS + cssnext.

  • Lots more HTTP2 and HTTPS.

  • Web components will continue to lurk and wait for significant traction by developers that might never come to be.

  • The no framework, framework, faction will gain momentum (see Svelte).

  • JavaScript will settle, and hopefully, CSS will erupt and everyone will cry fatigue until it settles.

  • Hatred for apps store will grow, while the open web has no memory of wrong doing.

  • Redux will continue to get stiff competition (see mobx).

  • YARN will win more users.

  • The idea of “front-end apps”, “Thick Client apps”, “Static apps”, “No Backend app”, “SPA's”, “Front-end driven app” might get boiled down to the term/concept called "JAMStack".

9

u/nanothief Feb 02 '17 edited Feb 02 '17

React, Redux, Webpack, ECMAScript 2015 (aka ES6), and Babel gain massive adoption. These solutions rise to the top of all the polls as the most used tech.

Note that this seems to be a mistake in their reading of the stackoverflow data - they were at the top of the most trending which measure how fast they are growing. However the when using the absolute data, (ie. the most used techs), the top places belong to the older libraries such as with jQuery and angularjs being the number 1 and 2 javascript libraries on stack overflow.

EDIT

Reading through some more of those point, and there seem to be quite a bit of inaccuracy here.

jQuery remains, but usage/interest is declining. jQuery 3 was released, much like a tree falling in a forest that nobody hears.

See above. I think also this is a bit disingenuous, as jQuery 3 isn't a massive change over jQuery 2. The javascript ecosystem needs more of this type of gradual evolution instead of the continual revolution other libraries are making.

Angular 2 (in the future aka "Angular") gets off the pot and most realize it will never be as mainstream as Angular 1.

That is a pretty brave claim considering how popular it already is (more questions per month on the angular2 tag than the reactjs one already). It had a rough start, but it is being backed by google and has a very large user base to draw from angular 1, so it is pretty foolish to write it off now. One huge advantage is its "all in one" nature (i.e. you just use angular 2, rather than tech A + tech B + tech C etc), which could be very attractive to many developers.

Mostly people learn to not only accept JSX they can't imagine not using it.

See above

The days of battling inconsistent browser API's are almost behind us due to a massive decline in usage and development for older versions of IE.

iOS Safari begs to differ :(

Static site generators are taken seriously.

Static sites have been taken seriously since jekyll which is at least 7 years old. Other tools such as middleman have also existed, and have been used seriously for a number of years.

CSS Grid excitement grows and the future looks bright.

This literally isn't supported by anything currently (Firefox and chrome support is coming March 2017). The link they gave to justify this gives some incredibly weak justifications as to why you would start using it them.

React Native and NativeScript start to replace mobile HTML5 hybrid webview development.

They are beginning to be used, but cordova/phonegap/ionic are still very popular and still growing (it is hard to compare sizes since there are multiple techs for each of the hybrid/native technologies).

More developer, from other languages, continue to flood the JavaScript space bringing with them things like type checking and an obsession with class syntax and OOP concepts. TypeScript gets some serious use and fanboys.

It is obvious the author isn't a fan of these techs, based on his wording here ("an obsession with class syntax", "fanboys"), but the do offer some compelling advantages to standard javascript development


I think it is clear the author has been primarily working with a react based toolkit, and made assumptions based on that. I think for a book titled as ambitiously as "Front-End Developer Handbook 2017" more effort could have been made to be a bit more balanced as to the state of the js world.