@Rodrigo hey thanks for the answer, I appreciate it. But I mean I want something like this:
https://codepen.io/GreenSock/pen/QWNqBvL
so, I want the box (element) animated/moving only when I scroll it to their view, that's the point that I'm still confuse to make it into React