Hacker News new | past | comments | ask | show | jobs | submit login
A Basic HN Client in React (github.com/armujahid)
29 points by armujahid on Oct 19, 2019 | hide | past | favorite | 8 comments



I developed it last year in few hours and it's currently hosted at https://hn.armujahid.me/


https://news.ycombinator.com: 7 requests 61.86 KB / 20.48 KB transferred Finish: 845 ms DOMContentLoaded: 483 ms load: 823 ms

https://hn.armujahid.me/: 18 requests 374.67 KB / 104.76 KB transferred Finish: 1.47 s DOMContentLoaded: 179 ms load: 539 ms

Is there any other point to take note of?


Wow. I didn't even notice that. I am using github pages with cloudflare cdn that may be one of the reason of its fast load time


Looks like it loads almost 300ms faster. Is that the point you're trying to make?


Pretty cool to see how you did this since there's so much different ways to build a react project. :) Curious to see the same being done with hooks and useEffect


Hooks version is now live :)


That's awesome! :D


yup I will refactor it completely to use hooks.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: