6.5 Editing and Deleting Contacts
Now, we need to give the user the option to both edit and delete existing contacts in our collection. Further, our collection view of contacts must be notified when these changes/deletions occur, so that they auto-update, accordingly.
We’re done with this mini-series, but there’s much more to do. If you were working along, here’s some homework: Use the comparator to sort our contacts by last name.
Right now, we’re merely listening for when the edit link is clicked, and then proceeding, accordingly. Change the code so that the edit box view is instead triggered when the applicable route is called.