How matteo-grellier/matedoro_react-native works
Main Components Layer
• Inside this container, create these major sections:
a. Core App Structure (app/_layout.tsx and app/app.tsx)
b. Component Layer
c. Provider Layer
d. Hooks Layer
e. Assets Container
Component Architecture
• Components
• Timer Core Components
• Pomodoro.tsx
• Timer.tsx
• Cycle.tsx
• UI Components
• PlayButton.tsx
• HistoryButton.tsx
• SlidingSlidebar.tsx
• Modal System
• ChangeTimerType.tsx
• TimerTypePopup.tsx
• OpenCloseButton.tsx
State Management & Logic Layer
• Hooks integration:
• Hooks
• useTimer
• useThemeColor
• useColorScheme
Asset Management
• Assets
• Fonts
• Images
• Sounds
• notification-sound-1
Navigation Flow
• Tab-based navigation structure from the (tabs) directory
• Relationship between _layout.tsx and the route components
Styling Guidelines:
• Blue: Core application components
• Green: UI components
• Purple: State management (Providers)
• Orange: Hooks
• Gray: Assets
• Yellow: Navigation components
Special Considerations:
How hooks integrate with components
Level of Detail:
Additional Elements:
Testing boundaries (based on the __tests__ directory)
Remember to:
• Version information and date
• Notes about key architectural decisions
• Relationship between the example app and the main app