TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Angular 2.1.0 Now Available

29 点作者 edroche超过 8 年前

3 条评论

eranation超过 8 年前
Been using angular 2.0 for a short while and it's been pretty great. Had to get used to the () [] and [()] syntax but it's so far been the best "all included" experience building web apps I had (from table layout and asp in the last decade through jquery, backbone and angular 1.0). Used it with systemjs initially then moved to angular-cli and webpack. It just works. ng new, ng build, ng serve. No need for gulp/grunt/bower/browserify/yeoman. Built in support for scss. Built in support for typescript. For an occasional web app builder like me who can't keep up with the latest trends all the time this has been the best one stop shop experience so far. The fact that typescript @types are all in npm as well and I can simply do import 'lodash' and just use it is what I always dreamed about front end web development. Simply do ng new and you got a working front end web app with tons of opinionated best practices/tooling and no additional libraries to learn. I'm sure there is a downside to just taking the easy route here but for just an occasional internal web app this is by far the easiest experience I had with any front end framework. Kudos to the angular team.
aprdm超过 8 年前
Did a big project with Angular 1.0 and after it clicked it was alright. I really enjoyed it, everything made sense. I thought Angular would be my best friend.<p>Tried Angular 2.0 and it&#x27;s a completely different beast it seems. A simple project cookie cutter has 6 different files, it is ridiculous.<p>I had to edit the &#x2F;etc&#x2F;sysctl.conf just to go through the tutorial using Papa John&#x27;s configuration and fs.inotify.max_user_watches = 524288 else it would crash.<p>All this transpiling and whatnot just to get a javascript app to run is way too much. 6 files of boilerplate is just nonsense.<p>Lost all interest in Angular 2.x.<p>going to either stick with angular 1.x or try react&#x2F;vue, which is a shame.
评论 #12698507 未加载
评论 #12699580 未加载
meira超过 8 年前
Now isn&#x27;t it going too fast? 2.0 release was just few days ago.
评论 #12698247 未加载
评论 #12697988 未加载