We can hide our Dashboard Page on the Login and Signup page using a react-dom router. Hide Navbar on Login Page in ReactJs.
Basically, I am Hiding My Dashboard and Footer Bar on my Login/Signup pages using this simple script using withRouter(). I have attached the screenshot below.
So very simple process. I just keep my login and signup part out of Navbar.

Read our More Tutorials
login form in React with Laravel
Live Search with React and NodeJS
CRUD Operation Using React & Nodejs