Loading problem…
This problem builds on todo-list. Complete that first, then load your solution to continue.
Build an enhanced Todo List component that extends the basic todo list with filtering, drag-and-drop reordering, and local storage persistence.
interface Todo {
id: number;
text: string;
completed: boolean;
order: number; // For drag-drop ordering
}
type Filter = 'all' | 'active' | 'completed';