How lbzutp/ts6c3-2024-2 works
Main Components
• Practica1 Application: Since practica1 contains the core files (App.js, components directory, and other configuration files), mark this as the “Main Application.”
• UI Components: Under practica1/components, these components (such as Contador and ListaContador) form building blocks of the app. Also include the other exercises detailed in the README (e.g., Greeting, UserDetails, Task, ToggleText, DynamicForm, ClickCounter, RegistrationForm, ThemeSwitcher, AlertButton, ParentCounter, ChildCounter, ImageGallery, ImageList, Game and GuessForm) even if their implementation might be evolved in the project.
• Component Examples: The ejemplosComponentes folder should be treated as a library of sample components (for ActivityIndicator, Button, Modal, etc.) which can be used to illustrate different UI paradigms.
• Expo/React Native Framework: Given that the project is started using npx expo start, include the React Native environment with Expo as an underlying platform layer for development and deployment.
• Dependencies and Configurations: Including babel.config.js and package.json, these show integration with ES6 syntax, npm dependencies, and the bundler’s configuration.
Relationships and Interactions
• The Main Application (practica1/App.js) acts as an orchestrator that uses various UI components (from practica1/components and also possibly inspired by the examples).
• There is an implied execution flow during startup: Expo manages the application launch and establishes a rendering pipeline for React Native components.
Architectural Patterns and Design Principles
• Component Driven Design: The project’s architecture is based on breaking the UI into reusable components.
• Unidirectional Data Flow: Emphasize the hierarchical flow of data (via props) from parent to child, matching the React paradigm.
• Separation of Concerns: Display the delineation between the primary demo application (practica1), component libraries (ejemplosComponentes), and configuration/dependency files.
• Modular Structure: Each component handles its own state or accepts props, supporting a modular and extensible design.
Incorporate Relevant Technologies and Frameworks
• React Native: The primary framework for building the mobile application's UI.
• Expo: Highlight how expo manages the development lifecycle, testing, and deployment.
• JavaScript (ES6+): Underlie the language features and coding style used throughout the project.
• npm (and package-lock.json): Emphasize dependency management and project configuration.