paint-brush
How to Make a Silky Smooth Scroll in Reactby@BernardoGarza
17,262 reads
17,262 reads

How to Make a Silky Smooth Scroll in React

by Bernardo Garza Landa10mJuly 30th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

React-scroll is a component to animate your vertical scroll, and it's effortless to use. In this article, I'm going to show you how to add it to your React Components. The Link component will allow us to animate our scrolling when we click on a link. We need to replace our Visual Studio Code tag with the Link component. We are using styled-components but, that's a topic for a future article. We're going to end up with this: "Live Demo with React"

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Make a Silky Smooth Scroll in React
Bernardo Garza Landa HackerNoon profile picture
Bernardo Garza Landa

Bernardo Garza Landa

@BernardoGarza

Front-end

Learn More
LEARN MORE ABOUT @BERNARDOGARZA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Bernardo Garza Landa HackerNoon profile picture
Bernardo Garza Landa@BernardoGarza
Front-end

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite