Memory Efficient Data
High-performance data handling component with virtual scrolling, memory recycling, and real-time analytics. Optimized to handle large datasets efficiently while maintaining smooth user experience and minimal memory footprint.
Pro features
What the Pro version adds to this component.
Chunk Caching & Cleanup
Bounds memory with LRU/FIFO/LFU chunk caching and autoCleanup of off-screen data
Virtual Scrolling
Mounts only a windowed slice of rows for optimal performance
Real-time Analytics
RealTimePerformanceMonitor renders live onMemoryUpdate stats; MemoryAnalytics drives the same panel with simulated data
Large Dataset Support
Rendering only the visible window keeps very large arrays responsive
Streaming Mode
Chunked rendering keeps the list smooth as you append data
Performance Monitoring
performanceTracking captures FPS and render-time metrics
Installation
Install via CLI
npx @moontra/moonui-cli add memory-efficient-dataUsage
Examples
Large Dataset with Virtual Scrolling
Handle 100,000+ items with smooth scrolling and minimal memory usage
Scroll-Aware Preloading & Cache Strategy
preloadStrategy widens the rendered window toward the direction you are scrolling; cacheStrategy decides which off-screen chunk is dropped first
Built-in Search & Export
enableSearch renders the search box and routes the term to onSearch; enableExport renders the download button and calls onExport with the current dataset
Real-time Memory Analytics
Monitor memory usage and performance metrics in real-time
Incremental Data Loading
Load data in chunks to optimize initial render time
Memory Recycling Demo
See how memory recycling reduces memory footprint
Performance Comparison
Compare performance with and without optimizations