- [Instructor] Now the last step for victory is actually…to check to make sure that our Delete Selected…actually deletes them off the server.…We didn't have to do any server side coding,…that was already provided as part of the project…but we did have to wire up the mutation,…and so it's actually going to be making use of…this Select ID information to be able to do…the actual delete.…So I'll come into here…and we're going to click on Delete Selected.…Ah, did not delete,…looks like we have ourselves a little bug.…All right, so we don't have actually any warnings here…or anything, so we must have some type of issue…in terms of how we're actually passing this function in.…
So, let's debug it.…If we come back over to our code here,…we're going to go to our DeleteWidgetsMutation…and we'll see that we're actually setting up,…ah, onDeleteWidget.…Let's head over to our DeleteSelectedWidgetsMutation,…so there's our DeleteSelectedWidgetsMutation,…and on here we're actually putting a function called…onDeleteSelectedWidgets.…
Skill Level Advanced
GraphQL Essential Training (2018)with Emmanuel Henri1h 54m Intermediate
React.js Essential Training (2018)with Eve Porcello1h 25m Intermediate
1. Apollo Client State with React
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.