By KuhlMensch
I’ve played around with Angular 2 quite a bit the last few weeks. These are my (early) views for anyone interested:
* Templating syntax is intuitive after an hour or two
* Decorators are great! (sidenote: Warning Babel6 decided to remove them until the spec settles down)
* Typescript I’m undecided about. Its a bit of a pain to work with and tooling is still early days e.g. if you want to import a single js file/lib, you create a Type definition file (.tds) just for that. And if you don’t want to document every interface in that .tds, then you can give it an “Ambient” aka “whatevs” definition. But in that case it will not be retain its semantics.
* The new component router wasn’t ready for prime time 2 weeks ago. I doubt that has changed. And frankly, I feel a bit uncomfortable with how magical it is. That could change though, I know allot of effort is going into it.
* One of the best things is losing many of the hacky artifacts of Angular1 (pseudo-modules system, 9 types of component, config phases etc etc)
* IMHO the lack of opinion built into the framework will still cause allot of foot-shooting around the globe, especially compared to Ember or Aurelia.
That said, if I was going to start a large enterprise project right now, I’d SERIOUSLY consider the core being written in Angular 2 + Redux. I’d have to revisit Ember before I had that decision though, its been over two years …
Read more here: https://news.ycombinator.com/item?id=10743386
KuhlMensch comments on "Angular 2 Beta released"
No comments:
Post a Comment