Use react as a front-end separate blog, do you have to use redux to save your login status?

use react to do front and back-end separate blogs. Must login status be saved using redux? What other ways can be used?

Sep.16,2021

cookie,localStorage,redux, is fine, depending on your business needs, and if the project is small and the business logic is not complex, there is no need for redux


if you forget who it is, if you don't know if you need it, you don't have to use


that is not necessarily needed, you can do it through cache or cookie. Redux is just a repository where reused data is stored to optimize client performance

Menu