Loading problem…
Build a Todo List component in React that allows users to add, remove, and toggle todo items.
interface Todo { id: number; text: string; completed: boolean; }
// Initial state const todos = [ { id: 1, text: 'Learn React', completed: false }, { id: 2, text: 'Build Todo App', completed: true }, ];
4 hints available with Pro