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

Move redux files to component specific folder #3

Open
zafar-saleem opened this issue Sep 14, 2019 · 0 comments
Open

Move redux files to component specific folder #3

zafar-saleem opened this issue Sep 14, 2019 · 0 comments
Labels
enhancement New feature or request Improvement An improvement to existing feature

Comments

@zafar-saleem
Copy link
Collaborator

zafar-saleem commented Sep 14, 2019

For better architecture, move redux related files and services to component specific folders. Such as actions, reducers etc. Current structure that looks is like below.

src/
|
-->actions/
|
-->components/
|
-->container/
|
-->reducers/
|
-->sagas/
|
-->services/
|
-->store/

New structure should look like below:

src/
|
----> components/
|
------> employees/
|
--------> employeesComponent.js
|
--------> adminActions.js
|
--------> adminReducers.js
|
--------> adminServices.js

@zafar-saleem zafar-saleem added enhancement New feature or request Improvement An improvement to existing feature labels Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Improvement An improvement to existing feature
Projects
None yet
Development

No branches or pull requests

1 participant