DEV Community

Cover image for Scroll to component in React
coder4life
coder4life

Posted on

Scroll to component in React

How to scroll to a specific component on button click. Smooth scrolling from one component to another by using forwardRef in React.

Top comments (0)