react-direction

An npm package that allows you get the most up-to-date position when a user clicks on a previous/next/see more button within a predefined list.