The 2.0 Editor can support hundreds of files per Pen, not to mention folders mixed in which don’t count toward that total. This can be pretty weighty on the DOM and thus adversely affect performance. Especially as each file/folder has children, a variety of event listeners, are drag and drop enabled, etc. “Virtualizing” data like this is a common approach, but we’ve found if we just use IntersectionObserver to see if they are visible or not, “freeze” them if they aren’t, and fade them in and out of life, it’s a great solution.
Current
·
C2
·2026-04
424: File List Optimization
Find Your Interest
- Video - PETAL Stack Setup
- Membrane Media Processing & LiveView
- Molecular Notes: Principles
- Chris’ Corner: Lovingly Esoteric CSS
- Molecular Notes: Practice
- Day 65: using the em unit in container queries
- Unpacking Elixir: Syntax
- Scripting with Elixir
- Video companion - Teaching Elixir - Functions
- Video - Improving the crawler
Current
·
C2
·2026-04





