How nexthrive/nexademyv2mobile works
Detailed Component Breakdown
Create sub-sections showing:
a) Navigation Flow:
• Relationships between:
• Main tabs (index.tsx, explore.tsx, etc.)
• Layout components (_layout.tsx)
• Error handling (+not-found.tsx)
b) Component Architecture:
• Components by type:
• Core UI Components (ThemedText, ThemedView)
• Interactive Components (HapticTab, Collapsible)
• Platform-Specific Components (IconSymbol.ios.tsx vs IconSymbol.tsx)
Cross-Cutting Concerns
Separate sections for:
a) Styling & Theming:
• Relationship between:
• TailwindCSS configuration
• Theme hooks (useThemeColor, useColorScheme)
b) Context & State Management:
• AuthContext and its scope
• Hook system integration
Important Relationships to Highlight
• How the AuthContext provides authentication state to the app
• How the tab navigation integrates with the file-based routing
• Platform-specific component variations (iOS vs Android)
Technical Details
Annotations for:
• Expo framework integration
• TailwindCSS/NativeWind styling system
• React Native foundation
• File-based routing system
• Platform-specific implementations
Development Workflow
A small section showing:
• Development environment setup
• Build process
• Development tools integration
• Component relationships
• Data flow
• Authentication flow
• Theme system integration
• Platform-specific considerations