How enactjs/enact works
Main Components
a. Core Framework Components:
• Core Package (@enact/core)
• UI Package (@enact/ui)
• Spotlight Package (@enact/spotlight)
• i18n Package (@enact/i18n)
• WebOS Package (@enact/webos)
b. Key Architectural Layers:
• Application Layer
• Component Layer
• Framework Services Layer
• Platform Integration Layer
[Application Layer]
• [Component Layer]
• UI Components
• Basic (Button, Image, Layout)
• Complex (VirtualList, ViewManager)
• Containers (FloatingLayer, Scroller)
• Component Features
• Skinnable
• Spottable
• I18nDecorator
• [Framework Services]
• Core Services
• Kind System
• HOC Support
• Event Handling
• Spotlight System
• Focus Management
• 5-way Navigation
• I18n System
• Language Support
• Resource Management
• Platform Services
• WebOS Integration
• Device Features
• [Platform Integration]
• React Core
• WebOS Platform
• Browser Platform
Additional Elements
• Component types
• Connection types
• Version information
b. Annotations:
• Key architectural patterns
• Important dependencies
• Extension points
Implementation Notes
• Maintain proper spacing and alignment
• Version numbers
• Brief descriptions for major components
• The layered architecture of Enact
• Component relationships and dependencies
• Service integration points
• Platform compatibility
• Extension mechanisms