Tree Navigation I introduces rendering a simple file-system-like tree with expand/collapse. Each node can be a folder (has children, toggleable) or a file (leaf, clickable to select). This is the foundation for all recursive tree UI components.
Build a component that takes a nested tree data structure and renders it as an indented, collapsible list. Folders show a chevron icon that rotates on expand. Files show a file icon and highlight when selected. Clicking a folder toggles its children; clicking a file selects it.
This question tests recursive React components, local state for collapse/expand, and selection state management. The key is keeping the data structure pure and storing UI state (open/selected) separately.