Re:Accounting for Developers, Part II
by janci on Wednesday August 24, 2022 @01:07PM
(#32582465)
The website is so fast I did not notice it redrawed when I clicked Part I. I'm impressed.
[ Parent
| on HN ]
Re:Accounting for Developers, Part II
by jasonbarone on Wednesday August 24, 2022 @01:36PM
(#32582884)
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.
Re:Accounting for Developers, Part II
by RicoElectrico on Wednesday August 24, 2022 @01:10PM
(#32582502)
It's Javascript URL manipulation trickery, there's an event listener attached to that link.