-
Notifications
You must be signed in to change notification settings - Fork 0
Folder structure
SHREYAS edited this page May 23, 2024
·
1 revision
- images: Stores image files used throughout the application, such as logos, icons, and background images.
- styles: SCSS: Contains global SCSS files and variables, as well as shared styles that can be imported into individual components.
- Index: This file exports all common components to simplify imports in other parts of the application.
- Routing: Contains route paths and possibly other related constants. This can help maintain consistency and avoid hardcoding strings throughout the app.
- Utility functions that provide common functionality and can be reused across the application.
- Custom React hooks that encapsulate reusable logic. This might include hooks for fetching data, handling forms, or managing state.
- Contains Redux reducers for managing the application state. Each reducer handles updates for a specific part of the application's state.
- Configuration for the application's routes. This may include route components or utility functions for routing, ensuring a clean and organized routing structure.
- Modules for interacting with external services like APIs, authentication, or any other external data source. This helps to keep API calls and service interactions separate from your component logic.
- Main views or pages of the application, typically corresponding to different routes. Each view can have its own folder if it contains multiple related files such as subcomponents and styles.