-1
I’m learning reactjs and in the application I’m developing I have a login screen that authenticates the user to access a private route. On this private route I would like to load this user’s data into a header profile and then perform some operations on other screens with the user’s log. It is possible to pass some parameter to this private route without being of the type "route/:email" or "route/:idUsuario" ?
Thanks for your help, Rodrigo, but I don’t think you understand my doubt. Maybe I expressed myself badly. My goal is to log in to authenticate and free access to a private route without this route being "https://domain/route/idUsuario", but simply "route/" not letting the user access the id of another person and the same is authenticated.
– Iury Felipe