Loading topic
task-list project, read the files it creates, run the development server, and use the generator commands you will need later.6 min readng new task-list. Nothing here needs the dev server. You will write a few small files and let the compiler check th6 min readTaskListComponent shown inside the root component. It assumes you can read TypeScript classes and decorators, know what an HTML element and a CSS selector are, and have a project from the earlier chapter, created with ng new task-list. 5 min readTask interface with id, title and done, and that you know what a signal is at a basic level (a value you read by calling it, like tasks()). Signals are covered properly in a later 6 min readTaskListComponent rendered each row itself. That works, but the list component now owns the markup for one task, the checkbox wiring, and the delete button. In this chapter you move that markup into TaskItemComponent. The item receives its data through input() and repo5 min readTask interface from the earlier chapter, and you have a standalone component that renders a list. It covers how to hold the task list in a signal, derive values from it, and update it safely.5 min readTask interface from the earlier chapters and know the basics of signals: signal(), computed(), and reading a signal by calling it. You should also be comfortable with TypeScript classes and decorators. By the end, you will have one TaskService that owns the 6 min readTaskFormComponent around a single typed FormControl, attach validators, show errors at the right moment, and hand valid input to TaskService.5 min read/, and each task gets its own page at /tasks/:id. You will configure routes, render them in the root component, link to them from the list, and read the route parameter in a component. You will also handle a task that does5 min readHttpClient. It assumes you know the following:4 min readHttpClient in a typed API service, load tasks when the list opens, save new tasks, and show loading and error states with signals.5 min readTaskService, the signal-based service from the earlier chapters. It assumes you know the TaskService code, basic describe/it/expect syntax, and how inject() and providedIn: 'root' work. You should also be able to run ng test in the project.5 min readOnPush and shows which habits keep them correct. It assumes you finished the chapters on signals, the TaskService, and input() and output(). It also assumes you know what a st5 min readng build does, how to read its output, how to keep the bundle small, and why routes like /tasks/3 break on a plain file server. It assumes you finished the earlier chapters: you have the task-list proje6 min read