@history-navigation/react-router

1.0.0-alpha.0 • Public • Published

@history-navigation/react-router

Hooks to easily integrate with react router for transition animations when navigating back and forward

Install

$ npm i @history-navigation/react-router
$ yarn add @history-navigation/react-router

API

Table of contents

function RoutingNavigation

Returns: jsx


function useRoutingNavigation

Returns: Movement — The movement state

Examples

const { wasForward, wasBackward, steps } = useRoutingNavigation();

Readme

Keywords

none

Package Sidebar

Install

npm i @history-navigation/react-router

Weekly Downloads

1

Version

1.0.0-alpha.0

License

MIT

Unpacked Size

7.24 kB

Total Files

23

Last publish

Collaborators

  • kamikazept