-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moving on redux #273
Comments
@nishant23122000 Yes you can start working on this. Just make sure to go through the api structure and share the proposed redux store structure |
I had a load of my semester exam but now I can focus on feminist bible, I appreciate your patience.
According to the structure of the project, we have required to add many reducers and actions but if we focus only on authentication and connection of frontend and backend then for now first we have to implement userReducer which contains user and user auth state. Please read the below steps for the redux folder structure
So the folder structure if we implement redux then
P.S The userReducer will contain username, email, id, isloggedIn, isLoading etc |
@nishant23122000 You can create a folder as |
Yes,that's also great , ok i will create redux file so it will be easy to understand code structure. If all is ok then can i start work or anything have to change? |
@nishant23122000 Start the work! |
Explain what you did (Required)
As we discussed in issue #157, the first step I want to do is to start handling state with redux, because in the future there might be a case where it's very hard to handle state with passing data from parent to child and all, so we need to manage the whole state of the project with the help of redux.
Expected behavior (Required)
We just need to convert the current local state into the redux state, so it will be easy to connect with backend easily with the help of action and get the data from redux store
Describe the bug (Required)
To Reproduce (Required)
Screenshots (Required)
Your Environment (Required):
Node package
Browser : chrome
The text was updated successfully, but these errors were encountered: