---
title: "Discussion on \"React router 6 go back: How to go back using react router v6\" | Hashnode"
description: "Discussion on \"React router 6 go back: How to go back using react router v6\". React Router is a popular library for adding routing to a React application. Version 6 of React Router introduced a number of changes, including a new way to navigate back to a previous page.\nimport { useNavigate } from 'react-router-dom';\n\nfunction ..."
url: "https://hashnode.com/posts/react-router-6-go-back-how-to-go-back-using-react-router-v6/638dd7d6d35b4fa9afebe444"
---

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

Discussion

# [React router 6 go back: How to go back using react router v6](https://njirumwai.hashnode.dev/react-router-6-go-back-how-to-go-back-using-react-router-v6?utm_source=hashnode&utm_medium=feed)

React Router is a popular library for adding routing to a React application. Version 6 of React Router introduced a number of changes, including a new way to navigate back to a previous page. import { useNavigate } from 'react-router-dom'; function ...

Dec 5, 2022 · 2 min read · njirumwai.hashnode.dev  
Read the article

-   [#react-js](https://hashnode.com/tag/react-js)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#react-router-6](https://hashnode.com/tag/react-router-6)

## Written by

[Mwaijohn](https://hashnode.com/@aicode)

@aicode

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

Happy Coding

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
