Live data from Hacker News

Hacker News Clone Using GraphQL and React

github.com

101–110 of 187 posts

Re: Hacker News Clone Using GraphQL and React

#101
post #44

This is a nice example of the state of the art of a React & Friends stack. Thank you for building it and sharing it. Is it supposed to be completely functional? Login doesn't seem to work for me, at least. After 1.1 MB transferred, I experience subjectively sluggish page transitions and less-subjective FOUC on a recent MacBook Pro and Chrome over fast wifi. The features in this stack are impressive and appealing, but…

Could probably do with some code splitting.

Re: Hacker News Clone Using GraphQL and React

#102

Duplicate of the following... - https://news.ycombinator.com/item?id=15297922 - https://news.ycombinator.com/item?id=15134949 EDIT: Not sure why my comment is being downvoted for pointing out that this exact hobby project has been continually posted in the last couple of months.

> Not sure why my comment is being downvoted Because of the following reasons: 1) There's the subtle implication in comments like yours that this posting is not worthy because it was posted before. 2) It doesn't matter. Stuff is re-posted all the time, sometimes simultaneously. That's just the way the web works. 3) It's not your job to moderate or research this site for others.

Tbh I upvote these comments all the time because it's interesting to follow the previous threads. The only differentlce with this comment and others is that they said "duplicate of:" instead of "previous discussion:".

I understand the subtle difference between the two deliveries, but I wouldn't be so dismissive.

Re: Hacker News Clone Using GraphQL and React

#103

Duplicate of the following... - https://news.ycombinator.com/item?id=15297922 - https://news.ycombinator.com/item?id=15134949 EDIT: Not sure why my comment is being downvoted for pointing out that this exact hobby project has been continually posted in the last couple of months.

> Not sure why my comment is being downvoted Because of the following reasons: 1) There's the subtle implication in comments like yours that this posting is not worthy because it was posted before. 2) It doesn't matter. Stuff is re-posted all the time, sometimes simultaneously. That's just the way the web works. 3) It's not your job to moderate or research this site for others.

I, for one, appreciate when some link historian goes out of his way to fight online amnesia.

Re: Hacker News Clone Using GraphQL and React

#104
post #44

This is a nice example of the state of the art of a React & Friends stack. Thank you for building it and sharing it. Is it supposed to be completely functional? Login doesn't seem to work for me, at least. After 1.1 MB transferred, I experience subjectively sluggish page transitions and less-subjective FOUC on a recent MacBook Pro and Chrome over fast wifi. The features in this stack are impressive and appealing, but…

Could probably do with some code splitting.

It's a NextJS app. NextJS handles code splitting for you automatically.

Or maybe I misunderstood what you meant?

[edit] In fact, in the README at the root of the project:

"Next - (Routing, SSR, Hot Module Reloading, Code Splitting, Build tool uses Webpack)"

Re: Hacker News Clone Using GraphQL and React

#105

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?

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.

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

#106

I think this is really nicely done. It's probably a little over-engineered for a project of this size, but it shows the power of using all of these libraries together, and I'm sure it was a great learning experience. Does anyone know what tool was used to generate the system architecture diagram? It's really clean and clear - https://github.com/clintonwoo/hackernews-react-graphql#archi...

Sentence 2 on the front page:

"It is intended to be an example or boilerplate to help you structure your projects using production-ready technologies."

He could have used less tech, but then the project wouldn't have served it's purpose.

Re: Hacker News Clone Using GraphQL and React

#108

Question: I see that redux is advertised for state management but I don’t see any calls to dispatch or import statements for redux. Is redux actually used in this project?

He is not explicitly using Redux anywhere in this project. Although he is using Apollo, which internally uses Redux.

I don't think it should be on the list.

Re: Hacker News Clone Using GraphQL and React

#109

Duplicate of the following... - https://news.ycombinator.com/item?id=15297922 - https://news.ycombinator.com/item?id=15134949 EDIT: Not sure why my comment is being downvoted for pointing out that this exact hobby project has been continually posted in the last couple of months.

> Not sure why my comment is being downvoted Because of the following reasons: 1) There's the subtle implication in comments like yours that this posting is not worthy because it was posted before. 2) It doesn't matter. Stuff is re-posted all the time, sometimes simultaneously. That's just the way the web works. 3) It's not your job to moderate or research this site for others.

I can't really agree on any of the given reasons.

re 1) The assumed unworthiness is reading to much into it. Plenty of people point out previous posts. These are both good to read previous comments, and also to assess the spamminess of the post/poster -- how much this is so is up to the readers themselves to decide. I'm glad if someone has done the research for me already.

re 2) Does matter, see previous.

re 3) HN is a public forum, not a workplace.

Re: Hacker News Clone Using GraphQL and React

#110
1)

    npm install
    added 1226 packages in 52.23s
2)

    $ ls -l node_modules/ | wc -l
      900
3)

    $ du -h node_modules/
      180M	node_modules/
4) Few people care what your web app is built with. Your differentiating feature should be how it's used, not how its put together. In this case, it works exactly like the original, just with different internals. I don't see the point.
Post reply on HN