Answer the question
In order to leave comments, you need to log in
How to make authorization on cookies using React hooks?
Are there already some best practices for authorization with hooks? I don’t need to chew, maybe someone just has useful links?
Answer the question
In order to leave comments, you need to log in
just like without hooks.
authorization is separate, UI rendering is separate, and with hooks you render it or not, these are particulars.
for react components, the authorization state, the current user, and what else you have is just another data, work with the rest of the application state and work with authorization.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question