Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pkozlowski_os
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
pkozlowski_os
9y ago
Is the IRHydra is not working with the latest V8 pipeline (Ignition + Turbofan), AFAIK: https://github.com/mraleph/irhydra/issues/52#issuecomment-25...
2.
▲
by
pkozlowski_os
9y ago
A more interesting graph would be one that includes Angular 2+: https://npm-stat.com/charts.html?package=react&package=vue&p...
3.
▲
by
pkozlowski_os
10y ago
Right. After you've spent 10+ man/years developing an app based on React / other lib with similar restriction. "stop using React" is fine advise for small projects that can be rewritten in few months by few people.
4.
▲
by
pkozlowski_os
10y ago
It just got even better with alpha.5 (released just seconds ago :-)) - now you can have datepickers in popups: https://ng-bootstrap.github.io/#/components/datepicker
5.
▲
by
pkozlowski_os
11y ago
If you test currently available dead-code elimination tools for JS you will discover that there are tricks that those tools can't play, most important one being eliminating unused methods on object / classes. AFAIK Webpack2 is usi
6.
▲
by
pkozlowski_os
11y ago
As pointed out in the blog post shaving off bytes is one of the priorities before 1.0 release. We've got many tricks to play here, so expect those numbers to be much lower in the final release.
7.
▲
by
pkozlowski_os
11y ago
@estsauver while I agree that it takes some time to get into contributing into a big project like Angular 2, it is simply not true that it is "Google only" project. I'm a regular contributor (#6 in terms of no of commits: ht
8.
▲
by
pkozlowski_os
11y ago
How many apps in the World require a specialised framework that GMail might require? 10? 100? 1000? Sure, everyone can invent their own framework to be very "specialised" and "tailored" to a given app needs but is it goi
9.
▲
by
pkozlowski_os
11y ago
Well, I believe it is a "good thing" when you believe in what you do and got arguments to back up what you believe in.
10.
▲
by
pkozlowski_os
11y ago
Right. I was more after examples of apps in the wild done by "average" (whatever it means) group of developers in an "average" dev shop. A group of rock-star developers will do "right thing" most of the time, r
11.
▲
by
pkozlowski_os
11y ago
I'm yet to see a non-trivial (100+ screens, 10+ devs over 10+ months) production-level app written in "vanilla JS" without any framework (popular open-source or home-grown "monster"). You need _something_ to structu
12.
▲
by
pkozlowski_os
11y ago
Neither Angular 2 nor 1 uses O.o for change detection. So there are no implications for ng, realy.
13.
▲
by
pkozlowski_os
11y ago
Right. I guess it really depends how people define "dirty checking". What I was trying to say is that at the end of the day you do diffing on some data structure: model in Angular and virtual Dom in React. Loop vs. one pass is an
14.
▲
by
pkozlowski_os
11y ago
Well, it kind of does when comparing virtual DOMs before and after changes.
15.
▲
by
pkozlowski_os
12y ago
Bla, bla, bal... How about showing us some great products instead?
16.
▲
by
pkozlowski_os
13y ago
Let's be precise - at the moment there are exactly 68 open pull requests, _one_ of them being about documentation: https://github.com/angular/angular.js/pulls There is a huge difference in the open source wor
17.
▲
by
pkozlowski_os
14y ago
And more examples like this, unfortunately... Compare buttons for another striking example...
18.
▲
by
pkozlowski_os
14y ago
Just 4 things for a start: 1) Size and dependencies. Let's say you want to use buttons directive. If you decide to go with angular-ui/bootstrap you will need this https://github.com/angular-ui/bootstrap/blob/master/src/butt... only - 62 L
19.
▲
by
pkozlowski_os
14y ago
You are right, this project has _zero_ dependency on any other external JavaScript code. Those are native AngularJS directives.
20.
▲
by
pkozlowski_os
14y ago
Actually jqLite has 2.36kB when minified / gzipped, check this for more details: https://plus.google.com/104744871076396904202/posts/EgjErc6N... This is over 13x less as compared to full jQuery (1.9.x): http://mathiasbynens.be/demo/jque
21.
▲
by
pkozlowski_os
14y ago
@seivan, could you elaborate on what you mean by "all the boilerplate crud"? It is hard to see what you are getting at here...
22.
▲
by
pkozlowski_os
14y ago
Just wanted to comment that all the directives from http://angular-ui.github.com/bootstrap/ are native AngularJS directives. They don't require _any_ 3rd party JavaScript dependency (jQuery, bootstrap's JS etc.). Just take Angular, 5kB li
23.
▲
by
pkozlowski_os
14y ago
Yeh, the word about http://ngmodules.org/ should be spread, hopefully it can be a repository of links to AngularJS directives.
24.
▲
by
pkozlowski_os
14y ago
Well, as part of angular-ui we are building native AngularJS directives for Twitter's bootstrap: http://angular-ui.github.com/bootstrap/ Angular-strap is great but it has dependency on jQuery, bootstrap's JavaScript etc. Our goal is to co