JSFiddle - React, Tailwind, and code Playground

HTML

<table width="100%" height="500px" style="background-color:BLACK;">
</table>

JavaScript

$(function(){
   $(window).scroll(function(){
if($(document).height()==$(window).scrollTop()+$(window).height()){
           alert('I am at bottom');
           // show something, load content via ajax etc
       }
   });
});