---
title: "Comment by valentina on \"A Look at React Hooks: useRef to Scroll to an Element\" | Hashnode"
description: "Hi Victoria! Great article I have one question though. I have let&#39;s say a home page, which has multiple sections, each section with its own reference. I am"
url: "https://hashnode.com/posts/a-look-at-react-hooks-useref-to-scroll-to-an-element/61f3e8fa52c782474274a0e2/comment/62ab09a11a89c91850b1a6df"
---

[Discussion](https://hashnode.com/posts/a-look-at-react-hooks-useref-to-scroll-to-an-element/61f3e8fa52c782474274a0e2)

Comment [A Look at React Hooks: useRef to Scroll to an Element](https://hashnode.com/posts/a-look-at-react-hooks-useref-to-scroll-to-an-element/61f3e8fa52c782474274a0e2)

[valentina](https://hashnode.com/@vpaniza)

[Jun 16, 2022](https://hashnode.com/posts/a-look-at-react-hooks-useref-to-scroll-to-an-element/61f3e8fa52c782474274a0e2/comment/62ab09a11a89c91850b1a6df)

Hi Victoria! Great article

I have one question though. I have let's say a home page, which has multiple sections, each section with its own reference. I am able to, by clicking a button, scrolling to a section (I'm not using <Link> nor <Router>). But, what I'm trying to do now is, inside that section, click a new button, that scrolls to another section (which is not a child) of the home page.

Do you think it is possible without using the router component?

Thank you very much! Your articles are really helpful
