Commit
feat: Implement lazy loading and queue management for waveform component
Commit details
Commit notes
This commit introduces lazy loading functionality for the Waveform component, allowing it to load audio only when it becomes visible in the viewport. Additionally, a queue management system is implemented to limit concurrent waveform loads, enhancing performance and user experience. The component now supports a 'lazy' prop to toggle this behavior, improving resource management during audio playback.
- Files changed
- 1
- Lines added
- +152
- Lines removed
- −63