This is a simple function that checks if the user has scrolled to the bottom of the page.
import checkPageBottom from "checkpagebottom";
console.log(checkPageBottom()); // true or false
Want to work with a kickass frontend dev?
Email me at ikhan77727@gmail.com. LinkedIn: https://www.linkedin.com/in/imrankhan001/
P.S: I excel in Remote Work Only