|
Answer» EVERY Redux application has multiple top-level directories as GIVEN below: - Components: Components are used for “dumb” React components unfamiliar with Redux.
- Containers: Containers are used for “smart” React components that are connected to Redux.
- Actions: Actions are used for all the ACTION creators, where the file name should be corresponding to the part of the app.
- Reducers: Reducers are used for all the reducers where the file name is corresponding to the state key.
- Store: Stores are used for store INITIALIZATION. This directory works best in small and mid-level SIZE apps.
|