未加星标

Js 2017 ― what happen, what to look out for

字体大小 | |
[前端(javascript) 所属分类 前端(javascript) | 发布者 店小二04 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

Last year I wrote an article about why i’m happy ― or at least not depressed:P ― to have somehow settled in web/js space. So now, a year later it’s time to revisit my post and check if I still share this mindset.

tl;dr;

I think node.js/javascript ecosystem is still a good choice for web-development purposes.

NPM

I’m still a fan of npm and node.js package management. Npm v4 was just released a few weeks ago and facebook released yarn which is already pretty stable and actually a nice alternative to npm (faster + ~shrinkwrap included).

Node.js

Not much to say here:) Node.js and v8-engine are still evolving fast. Just take a look at the release notes. Node.js v7 now has nearly 98% support for es6 features and v8 -engine gets continuous updates/optimizations for es6 operators.

Meteor

A year ago I praised Meteor and used it for basically everything ― small prototypes to real apps. Today I basically only use meteor where I don’t have a choice, but don’t get me wrong:

That’s not a “I’m leaving meteor” post.

Meteor is still as great as it was a year ago(to be true it’s even better now) ― it’s just that it can’t keep up with the fast evolving js world. I still maintain meteor projects and I don’t have more(basically none) problems like a year ago.

Arunoda Susiripala s announcement of leaving meteor was sad and I think a really hard hit for the meteor community ― I personally admire his work a lot.

That said, everything you actually needed is still there. Storybook is still supported, react-composer too. React-router-ssr was forked and is still working well. Uniforms is still maintained well. Simple-schema is working like it was a year ago. So all in all, for node.js beginners i’d actually would still recommend it as a fullstack to get started, but everyone who learned to know the benefits of e.g. webpack and hmr should probably consider to go with sth else. I’m really curious if they actually manage to release the npm transition in the near future. If yes, I thing this will produce a major boost again. Imagine sth like create-react-app, but for meteor with minimongo and co. That would actually still be top notch.

Cool things to lookat:

create-react-app : already there for a while: still a pretty awesome base to get started. Currently my most used choice ― even if you have to eject right after the installation.

next.js : actually a pretty great alternative to create-react-app, coming with it’s own router and code-splitting, easy ssr support and stuff like that. I just tested it on small side projects, but it’s already pretty great… I was only really missing dynamic routes yet, but V2-beta has just been release so let’s see what’s there to come.

firebase:i was skeptical at first, but I used it in various smaller apps over the past few months and it’s actually already pretty cool and evolving fast. It’s kind of sad that you still have to leave the “ Forget about infrastructure ” comfort zone for most firebase web projects(as you most probably need ssr or at least a small server component for emails or stuff like that). Anyways i’d recommend it to everyone and am happy to see where this goes next ― even if on web it feels a bit like the unloved child in comparison to the iOS and Android version.

material-components : which is basically v2 of mdl had it’s first alpha release and i’m curious to see how it evolves and if e.g. react-mdl manages to keep up with the new version.

Stuff

Of course, there’s a lot more cool stuff going on ― about most stuff i don’t know enough or nothing at all. So here are a few things I want to try in the near future… e.g. preact ― a fast, small alternative to react. graph.cool <- still not sure what i think about all that graphql stuff, but i’ll definitely give it a try. And also outside react world: The first beta of angular v4 has been released. Polymer v1.7 has been released. Browser support for webcomponents has evolved a lot. IE is next to dead (≤v10), Safari is also slowly dying(≤8):)!

Thanks for reading and happy new year:)

本文前端(javascript)相关术语:javascript是什么意思 javascript下载 javascript权威指南 javascript基础教程 javascript 正则表达式 javascript设计模式 javascript高级程序设计 精通javascript javascript教程

主题: Node.jsReactAndroidiOS
分页:12
转载请注明
本文标题:Js 2017 ― what happen, what to look out for
本站链接:http://www.codesec.net/view/520882.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 前端(javascript) | 评论(0) | 阅读(71)