Answer the question
In order to leave comments, you need to log in
How to logically separate application states?
I decided to write a blog on the MERN stack, reached the login stage under the admin,
wrote on hooks, decided to pass everything related to the login (jwt token, user id, isLogged, and the login and logout functions) through the context and the provider, after which I wondered, how to logically separate the logic:
leave everything related to authorization in this form, and use redux for user interaction?
or can all the logic be stuffed into redux?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question