react-router-navigate-back
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

npm version

Install

npm install react-router-navigate-back

Import

import { useNavigate, Link } from 'react-router-navigate-back'

Usage

Use inside the Router component, for example as below

<Link to="/settings" back>Back</Link>
navigate('/settings', {
    back: true
})

Package Sidebar

Install

npm i react-router-navigate-back

Weekly Downloads

1

Version

1.0.1

License

none

Unpacked Size

5.94 kB

Total Files

7

Last publish

Collaborators

  • mayntri