Most of the applications has several top-level directories as below:
Components: Used for dumb components unaware of Redux.
Containers: Used for smart components connected to Redux.
Actions: Used for all action creators, where file names correspond to part of the app.
Reducers: Used for all reducers, where files name correspond to state key.
Store: Used for store initialization.
This structure works well for small and medium size apps.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.
We use cookies to ensure that we give you the best experience and use cookies in order to personalize the advertising that you see on our website. Read more about our Privacy Policy.Got it!