Skip to content
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

Refactor / update reducer structure (+ actions, actionTypes, selectors, etc.) #207

Open
ghost opened this issue May 19, 2017 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented May 19, 2017

Currently not completely in line with the changes from implementing redux-forms:

Forms Reducers
Signup Session
Login Profile
Request password reset
Reset password (after password reset request)
Change password (when logged in)
Change profile

There should be a global reducer that responds to client and server errors, and a top-level component that displays them if they exist.

That means that errors won't have to be handled in reducers at all. And neither does isFetching. All that has to be stored is the profile and the token.

Update tests after this as well. Should be able to significantly reduce them.

@ghost ghost changed the title Refactor / update reducer structure Refactor / update reducer structure (+ actions/actionTypes) May 19, 2017
@ghost ghost changed the title Refactor / update reducer structure (+ actions/actionTypes) Refactor / update reducer structure (+ actions, actionTypes, selectors, etc.) May 19, 2017
@ghost ghost self-assigned this May 19, 2017
@ghost ghost mentioned this issue Jun 1, 2017
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants