这个来自之前做的培训,删减了一些营业相干的,参考了许多材料(
参考材料列表),感谢先辈们,么么哒 😘
就前端主流手艺框架的生长而言,过去几年生长极快,在填补了原有手艺框架空缺和不足的同时也逐渐趋于成熟。将来前端在已趋向成熟的手艺方向上面将会逐步稳定下来,进入手艺迭代优化阶段,比方言语规范、前端框架等。
关于挪动端运用,前端要重点生长的下一步能够就是原生NativeView开辟,构成一套挪动端高效率的前端开辟生态系统。
新领域的Web化思绪也会给前端带来手艺革新和生长时机,比方Web虚拟实际(Virtual Reality,VR)、物联网(Physical Web,将物体连入收集的一种理念)Web化、机械进修和人工智能等。
将来前端趋向
https://frontendmasters.com/books/front-end-handbook/2018/2018.html
这里是frontendmaster宣布的近来瞻望,简朴解读一下:
- Nothing will change or slow the usage or popularity of React for many years to come.
React在近来几年里照样会继承广泛运用,这个挡不住。 - GraphQL will replace a lot of REST API’s this year.
GraphQL 会逐渐庖代 REST API,不过我以为这个稍微有些激进,只是多一种挑选罢了。 - The web will continue to become more native-like with offline capabilities and seamless mobile experiences.
Web运用用起来会更像原生运用。 - HTML 5.3 is coming.
- Keep an eye on turbo, a blazing fast NPM client.
听说Turbo比NPM、Yarn之类的快5倍。 - Expect to learn and use CSS transforms 3d, CSS transitions, CSS flexbox, CSS filters, CSS grid
多运用CSS新特征。 - JavaScript usage will continue to grow with no slowdown in sight.
Javascript用的人越来越多。 - Still waiting on Web Assembly to peak. This will likely require tooling.
Web Assembly 将来应当是趋向,如今照样在路上。 - Universal/isomorphic JavaScript solutions continue to evolve e.g. next.js and Sapper.
同构的解决方案不断生长。 - Web components still lurk and wait for significant traction from developers.
Web组件越来越多。 - I believe the end is in sight for CSS pre-processors as PostCSS, CSSnext, and CSS in JS take over.
JS能够将会接受CSS预处理器。 - Older server centric application patterns show up again but with a new spin. The pendulum could start to swinging away from strick SPA applications. People will begin to pull back on the complexity of single page applications and return to things like pjax (A mix of SPA and Server-side Rendering. See https://stimulusjs.org).
有服务端衬着需求的只是前端项目的一部分,至于这个展望也不一定。 - Progressive Web Applications hopefully will catch fire. If they don’t, I fear they never will. At least not in their current form.
实在今后的硬件多余,大部分场景不需要什么渐进了。 - “Chatbots created on the basis of artificial intelligence and neural networks will continue to evolve helping to increase communication online. I wonder what it will lead to, but this is unconditional web development trends 2018”. Nods.
人工智能谈天机械人预计要逆天了,Facebook的谈天机械人在谈天中还会发现本身的言语。 - Vue.js usage will likely overtake all Angular usage.
Vue凌驾Angular,这个我以为应当没啥题目。 - AR/AV, AI, and chat bots will continue to evolve and find their sweet spot.
- JavaScript Symbol and Generators will likely go unnoticed by most front-end developers.
这两个特征确切出镜率并不高。 - More developers will divorce themselves from plain JavaScript and try to marry another. But, just like in marital divorce one always takes most of the same problems with them to the greener grass and little actually changes. Preferences and values just get re-prioritized and history will repeat itself.
也就是许多人会尝试TypeScript,就像之前尝试 CoffeeScript 一样,厥后就不火了。 - Webpack 4 will happen, and be better, due to competition!
- Continued exploration for the ideal CSS solution for a tree of UI components will not cease.
- State management gets a reset and people start to simplify. Hopefully, this will be the year for solutions like mobx to shine.
Mobx之类的简化状况治理的库会获得更多运用。
趁便提一下,Google 近来宣布了Project Stream手艺, https://projectstream.google.com 能够在 Chrome 上面经由过程串流玩游戏,这个手艺压根就不必装置游戏了,也不存在什么兼容性之类的,直接是游戏画面传输,假如这个手艺提高,会对全部UI相干的行业发生严重影响,比方前端、游戏、小顺序之类的。
所以手艺生长是没法展望的,不知道哪天又有什么黑科技,有啥变化,主动拥抱就对了。