Skip to content

justynleung/react-responsive-mobile-nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a responsive mobile navbar which enabled animation for mounting and unmounting.

The custom hook that I am using is modified from this post https://medium.com/@tomaszferens/delay-unmounting-of-the-component-in-react-8d6f6e73cdc

I add a hideNow state for the custom hook. When you click on the hamburger menu, you will get animation during both mounting and unmounting. When you click on navlinks, you will be immediately directed to the page without delay.

Simple routing is done through 'react-router-dom'. I also make use of 'react-responsive' for showing/hiding the components.

About

React responsive mobile nav with mounting and unmounting animation enabled

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors