How To Build Cool Horizontal Scroll Interaction Flow by Using React

In this tutorial, we’ll create a fun scroll animation in which items “flip” in the direction of the scroll. We’re going to use react-spring for animating and react-use-gesture to tie animation to the scroll events. The native onScroll event handler won’t do in this case, because we’ll need additional information about scrolling that native onScroll handler doesn’t provide – scroll delta in pixels, and whether the scrolling is in progress or not.

Read the full story

Read more

%d bloggers like this: