DEV Community

Discussion on: Implement Protected Routes in React.js

Collapse
 
ymoran00 profile image
Yoav

This is cool - but it's not really protected, is it? All the user needs to do is open Chrome devTools and change the app's state to authorized. Isn't there a better way to stop unauthorized routing?

Collapse
 
edgaremmanuel profile image
DevByJESUS

you can juste build your own authentication and replace it with what he has done here