Web Programming

Todo SPA (Deleting)

The objective of this exercise is to extend the todo single-page application so that todos can be deleted.

Tasks

  1. Add a deleteTodo method to the service module which sends an AJAX request to delete a todo.
  2. Add a removeTodo method to the store module which remove a todo from the store.
  3. In the TodoList component, add a link to each rendered todo that deletes the corresponding todo when clicked.