---
title: "Discussion on \"How to pass additional data while redirecting to a different route in React\" | Hashnode"
description: "Discussion on \"How to pass additional data while redirecting to a different route in React\". In this article, we will see how we can pass extra data while redirecting to a different route in React that uses react-router-dom library.\nSo let’s get started.\nUsing Link\nNormally we use the Link component from react-router-dom as shown below:\n<Lin..."
url: "https://hashnode.com/posts/how-to-pass-additional-data-while-redirecting-to-a-different-route-in-react/5fb5e7e408ea5d7167d6f443"
---

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

Discussion

# [How to pass additional data while redirecting to a different route in React](https://blog.yogeshchavan.dev/how-to-pass-additional-data-while-redirecting-to-a-different-route-in-react?utm_source=hashnode&utm_medium=feed)

In this article, we will see how we can pass extra data while redirecting to a different route in React that uses react-router-dom library. So let’s get started. Using Link Normally we use the Link component from react-router-dom as shown below: <Lin...

Nov 19, 2020 · 2 min read · blog.yogeshchavan.dev  
Updated Apr 26, 2021  
Read the article

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

## Written by

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

@myogeshchavan97 · India

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

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. https://yogeshchavan.dev/. Book 1:1 @ hiretheauthor.com/myogeshchavan97

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. Loves sharing knowledge through technical articles. Dev.to: https://dev.to/myogeshchavan97 https://linktr.ee/myogeshchavan97

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
