- Replace recursive buildTree with buildVisibleNodes approach - Build flat list of visible nodes based on expanded state - Use processNode helper to traverse tree structure correctly - Each node appears exactly once in the rendered output - Eliminates duplication when expanding directories |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||