How saulamsal/netflix-ui works
Main Components
A. Client-Side Architecture (Primary Focus)
• UI Layer
• Tab-based Navigation System
• Screen Components
• Shared Components
• Animation System
• State Management
• Resource Management
Key Relationships to Highlight
┌─────────────────────────────────────────────────────────┐
• UI Layer │
• ┤
• Navigation Layer │
• ┤
• Animation System │
• ┤
• State Management │
• ┤
• Resource Management │
• ┘
Specific Implementation Details
a) UI Components (Blue Rectangles):
• Profile Selection
• Home Screen
• New & Hot Section
• Search
• Downloads
• Movie Details
b) Navigation System (Purple Hexagons):
• Tab Navigation
• Modal Navigation
• Screen Transitions
c) Animation Controllers (Green Ovals):
• Reanimated Worklets
• Gesture Handlers
• Shared Element Transitions
d) State Management (Orange Diamonds):
• User Context
• Overlay Context
• Root Scale Context
e) Resource Management (Gray Rectangles):
• Asset Loading
• Data Caching
• Media Management
Component Grouping
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
• Feature Components
• MovieList │
• GameList
• FeaturedContent │
• ┘
Technical Stack Indicators
• Expo
• React Native Reanimated
• React Native Gesture Handler
• Expo Router
• Expo AV
• Expo Haptics
The resource management system
Remember to indicate the relationship between the tab navigation system and the animation worklets, as this is a key architectural feature of the application.