Is everyone missing the point of this? It's a proof-of-concept app using an alpha[1] framework that, in a year or two, will likely be one of the dominant frameworks on the web. I for one find real examples like this much more useful than underwhelming "Todo"[2] examples. Yes, it's slow. Yes, it has lots of bugs but hell, at least the author is giving it a shot. I just hope they write a decent blog post about it with some of the lessons learned.<p>1- <a href="https://github.com/angular/angular/blob/master/package.json#L3" rel="nofollow">https://github.com/angular/angular/blob/master/package.json#...</a><p>2- <a href="http://todomvc.com/" rel="nofollow">http://todomvc.com/</a>
This is interesting, when I opened the link I thoguht to myself "this might be a nice and faster way to browse HN" ... but wow, this thing I slow. Not just slow, but the back button isn't working as well. Or maybe it is, but it loads the whole content again when you click back?
Thanks so much for sharing this. I've been waiting a while to see something complete written in Angular 2.0 to see what it looks like.<p>Really enjoyed looking through the source on this.
To people who are complaining that this is slow, please understand that<p>1. Doesn't have to do with Angular
2. Doesn't even have to do with a single page implementation<p>I made a really shit take on a single page reddit client, and I'm sure you'll see that the browsing experience is actually quite nice (and much faster than using native reddit). This was written in Angular 1.3, and Angular 2.0 is MUCH faster.<p><a href="http://bredd.it.s3-website-us-west-1.amazonaws.com/" rel="nofollow">http://bredd.it.s3-website-us-west-1.amazonaws.com/</a><p>My point is that implemented correctly, even a content site like reddit or hackernews could work quite well with a single-page implementation. Don't blame Angular for this demo, its server responses are just impossibly slow
This is a great example why you shouldn't use a client-heavy stack for a site like HN. You could, in theory, make something that's a bit better than original HN, but it requires way more work and/or quite possibly something else than Angular.
Seems to be serving a broken page...<p><pre><code> <div class="bodyContainer">
<hacker-news></hacker-news>
</div></code></pre>
An 'isomorphic' approach would really help with that first page load time. Here's one I built with isomorphic React: <a href="http://hackernewsmobile.com/" rel="nofollow">http://hackernewsmobile.com/</a><p>(source: <a href="https://github.com/jsdf/hacker-news-mobile" rel="nofollow">https://github.com/jsdf/hacker-news-mobile</a>)
Here is a Hacker News clone done with Vue:
<a href="http://yyx990803.github.io/vue-hackernews/#/news/1" rel="nofollow">http://yyx990803.github.io/vue-hackernews/#/news/1</a><p>I find it easier to follow if you're looking around for alternatives.