3 ms·
That's not a production build. Minify it, run dead code elimination. Exactly as you would with any other language with a compiler. Also, worth noting that the
by aredherring 10y ago
That's not a production build.
Minify it, run dead code elimination. Exactly as you would with any other language with a compiler.
Also, worth noting that the tutorial being broken isn't symptomatic of JS, that's a problem with Angular (which has a history of sucking, and IMO Angular 2 just takes all of the problems with Angular 1 and adds more baggage to it).
Be aware as well that Angular 2 is a full-fledged Web Framework. Even after all of this compression and such, it is not going to be as lightweight as you'd expect simply due to the nature of what you've installed.
If you want something really lightweight, go with Rivets or React.
- talmand 10y agoI'm confused by your response. I haven't claimed anything along the lines of your response nor am I implying anything about Angular nor JS. I simply just communicated my results from completing the tutorial.
- kuschku 10y agoI thought I’d never use Rails as example for a lightweight web framework, but Rails has to be the standard – and anything heavier than rails has to be completely discarded.