javascript – Library or implementation tips for pull to navigate in React?

There appears to be lots of solutions for doing pull-to-refresh, but I’m looking to implement “pull to navigate”, so pulling past the bottom/top of an article gives you a “keep pulling to navigate to the next article”-message and if you do, it does as it says on the tin.

I’ve been looking for an NPM package to do this, but I’ve only been able to find one called stickyroll that appears to be mostly unused and abandoned. Is there something out there I can re-use, or failing that, how should I implement this with modern React (Using Next.js v14 if that matters)?

Read more here: Source link