I try to observe if an element is intersecting with the viewport and if not change the position of the element via css in a react app. Therefore I am using the package rea
rea