DEV Community

Discussion on: How to Set Up Protected Routes in Your React Application

Collapse
 
ceoshikhar profile image
Shikhar

I generally have my auth context verify the auth state when the app is mounted.