I want to start the year by making a simple project to add to my portfolio. Last year I found myself browsing Hacker News more than Reddit and I thought why not make my own reader using Hacker News API?
View it here
Things to note
Next.js has this feature Incremental Static Regeneration since version 9.5. It basically lets you update and re-generate your page without causing user-facing loading or hiccups.
It is perfect for this project since HN's top posts aren't updated frequently. So, I can cache a static page and only update it on a configurable frequency (in seconds) that I can configure.
Top comments (0)