💬 Changed Infinite Scroll to Replace History
After some thought, I replaced the .pushState()
to .replaceState()
in my infinite scroll implementation. This works more like people would expect, plus removes having to deal with the Back button.
📄 Infinite Scrolling on Hugo List Pages
Despite the potential downsides, I’ve determined that infinite scrolling makes sense for my site and decided to implement it.
Full Post