Better HN
topnewbestaskshowjobs
Log inSign up

alana99

147 karma · joined Sep 22, 2017 (9y ago) · 2 submissions

React/JavaScript Software Engineer living in New York.

Also learning iOS and functional programming in my spare time.

Submissions

comment 4y ago · link · parent

Yeah, it's due to client side routing. The tradeoff is slightly higher JS size on the first load (but it gets cached) then when performing navigations it's only needing to fetch the data required to render the page.

The alterative is an old school style web server that returns a new HTML file and page reload on every navigation which is higher download and runtime cost (which is how the real HN does it!). No criticism here as the site definitely works well regardless.

2.

Hacker News Clone Using GraphQL and React(github.com ↗)

418 points · by alana99 · 9y ago · 181 comments