DEV Community

xain786
xain786

Posted on

Auth Guard in reactjs

Is there any auth gurad in react like we have in angular? If so how to use it.

Top comments (1)

Collapse
 
christianschulze profile image
Christian Schulze

There is no built in auth guard, but if you're using react-router, you could build one yourself as documented here