News for hackers. Stuff that matters.
Re:Hacker News Clone Using GraphQL and React by reacthate on Sunday October 01, 2017 @08:55PM (#15380908)
Hey, so, uh... all you need to clone HN is Postgres and some HTML/CSS and a smidgen of JavaScript. Good God, must we pull in the entire JavaScript ecosystem for a simple forum now?
Re:Hacker News Clone Using GraphQL and React by chrisco255 on Sunday October 01, 2017 @09:44PM (#15381143)
It's called a 'reference architecture'. It's intended to be used as a teaching tool and learning tool for a stack that has tremendous benefits for applications more complex than HN. Since everyone is familiar with HN on HN, they can look at that code and understand how it fits in with the big picture without having to learn a new app PLUS a new architecture.

[1] https://en.wikipedia.org/wiki/Reference_architecture

Re:Hacker News Clone Using GraphQL and React by scottmf on Sunday October 01, 2017 @10:03PM (#15381229)
Good god look at all these over-engineered todo lists! All you need is a piece of paper and a pencil. Maybe a pen if you’re on the immutability bandwagon.
Re:Hacker News Clone Using GraphQL and React by reacthate on Sunday October 01, 2017 @09:04PM (#15380957)
This is why the JS community is so fucked. They take what should be a simple website and needlessly complicate it by (poorly) reimplementing what web browsers can already do.
Re:Hacker News Clone Using GraphQL and React by npolet on Monday October 02, 2017 @02:46AM (#15382090)
This really isn't why the JavaScript community is fucked. It's just a reference project for others to learn from. The spreading of information and ideas through code doesn't mean anyone's fucked. Why fucked? Are you reading into the fact that it's a young ecosystem with a turbulent flow at the moment? JS is just finding its groove. It's an always developing language that has the difficult job of being the language that runs on a fuck load of systems, within the enormities of the internet.
Re:Hacker News Clone Using GraphQL and React by mcgarnagle on Sunday October 01, 2017 @09:39PM (#15381131)
I'm on the fence for this one. While I completely agree that the JS community is as you say "fucked." There are so many fast moving framework redesigns that make for huge incompatibilities during these paradigm shifts. Super annoying community.

However, I love the advantage of exchanging the most minimal amount of data between a browser and the server for each additional page load (ie: JSON response).

Re:Hacker News Clone Using GraphQL and React by scottmf on Sunday October 01, 2017 @10:02PM (#15381225)
You’ve completely missed the point.
Re:Hacker News Clone Using GraphQL and React by reacthate on Monday October 02, 2017 @12:28AM (#15381702)
I would consider that a win, personally.