Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Based on the Firebase HN API, I made a web client that updates stories and scores in real-time.

No need to refresh your browser anymore to see new stories and comments.

Also, I used a responsive design to be able to read the stories on my mobile phone.

For now, I only show the top stories, up to 100 of them ( that's how many the API gives you anyway ).

If people find it useful, I might add other things. Hope OAuth becomes available so I can add up-voting and comment adding.



Nice work, I will give it a try for a while! Two points of feedback right of the bat: 1) The added margin animation doesn't really makes sense in my mind and doesn't really feel well. Maybe try out a few different focus/hover states? 2) I would like an easier way of closing the comments instead of again finding that little comments icon. Especially at mobile resolutions + touch is this a bit awkward.


The visualisation of live upvotes is nice, how did you handle that state-wise in React?

I also have comment counts and whatever data is used to dim downvoted comments on my API wishlist ( my own implementation is http://insin.github.io/react-hn ).

An endpoint for just ask/show/jobs items would also be nice.


@insin This project is an opportunity for me to make some production-ready thing on Flux/React. I'm new to it.

I have two stores, one for the news stories, and one for the comments. And then a smaller one for the notifications. I don't use any state in the components. Everything propagates from the top level and the stores.

The counter component doesn't have a state, but when it sees an update, it just adds/removes a class and that's how you get the animation.


Very nice except for the animations.

(am I the only on who fears that Material Design (when overused) can become the new Flash?)


I kind of like material design, but I'm not a designer myself. So I get that my implementation might be crappy.

I have no problem to disable them ( optionally maybe? ) for whoever thinks they are annoying.


I've been waiting for this for a while.Thank You!


Same thing here. I was using http://hckrnews.com/ on my tablet because of the non-responsiveness of Hacker News but http://hack.ernews.info/ seems better because it includes comments and use the new API. Thank you !


You're welcome =]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: