---
title: "Discussion on \"scrollIntoView() vs scrollTo() methods  in React - comparison\" | Hashnode"
description: "Discussion on \"scrollIntoView() vs scrollTo() methods  in React - comparison\". Scrolling is one of the key parts of the browsing experience. Almost everyone who visits your app will know how to scroll up or down, so you might ask, why do you need JavaScript methods to scroll? The answer is simple. You may need to programmatical..."
url: "https://hashnode.com/posts/scrollintoview-vs-scrollto-methods-in-react-comparison/64ef1c01cd3a5d427d72c5a6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [scrollIntoView() vs scrollTo() methods in React - comparison](https://interreactive.hashnode.dev/scrollintoview-vs-scrollto-methods-in-react-comparison?utm_source=hashnode&utm_medium=feed)

Scrolling is one of the key parts of the browsing experience. Almost everyone who visits your app will know how to scroll up or down, so you might ask, why do you need JavaScript methods to scroll? The answer is simple. You may need to programmatical...

Aug 30, 2023 · 5 min read · interreactive.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Frank DeLaney](https://hashnode.com/@FrankD34)

@FrankD34

  
[View profile](https://hashnode.com/@FrankD34)

React developer with 4 years of experience and a lifelong learner

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
