Hacker News new | ask | show | jobs
by janci 1398 days ago
The website is so fast I did not notice it redrawed when I clicked Part I. I'm impressed.
3 comments

Oh that's so great to hear, thank you! We use Next.js and content is statically generated.
It's running on NextJS which pre-loads the content of each link in the viewport unless you tell it not to, so it's loading a .json file containing the article content immediately, making the page transition instant when and if you click it.
It's Javascript URL manipulation trickery, there's an event listener attached to that link.