Re:Hacker News Clone Using GraphQL and React
by lucasmullens on Sunday October 01, 2017 @08:15PM
(#15380696)
This new site is around 1MB, regular HN is around 50KB. They're not even close. It's just that navigating to new pages is faster since it doesn't take a full page refresh.
[ Parent
| on HN ]
Re:Hacker News Clone Using GraphQL and React
by kuschku on Monday October 02, 2017 @06:10AM
(#15382776)
Correct, but so is commenting, loading comments, going back to the home page, etc.
All these actions are a lot faster on that site than on real HN with Firefox Nightly on PC and mobile.
Re:Hacker News Clone Using GraphQL and React
by scottmf on Sunday October 01, 2017 @08:28PM
(#15380768)
Which makes for a better user experience. What’s your point?
Re:Hacker News Clone Using GraphQL and React
by sillysaurus3 on Sunday October 01, 2017 @08:34PM
(#15380801)
Not really. Most of the point of HN is to navigate to it and then away from it (to other sites).
Re:Hacker News Clone Using GraphQL and React
by scottmf on Sunday October 01, 2017 @09:00PM
(#15380935)
The slightly higher upfront cost is only incurred once.
Re:Hacker News Clone Using GraphQL and React
by mcgarnagle on Sunday October 01, 2017 @09:35PM
(#15381110)
@sillysaurus3 you can actually leverage browser caching as well.
Re:Hacker News Clone Using GraphQL and React
by sillysaurus3 on Sunday October 01, 2017 @09:27PM
(#15381068)
Well, it's incurred each time you navigate away and then back to HN, which happens any time you click on a link on the front page, right?