- [Instructor] So now what I'm going to do…is I'm going to close this file for right now.…This one is looking good.…I'm going to come back over to WidgetsQuery…and at the top I'm actually going to go ahead and import…from the mutations folder.…I'll come over here and pull in my DeleteWidgetMutation.…I'm going to take the DeleteWidgetMutation here…and use it for my return.…And into it I'm actually going to pass the widgets…which I'm going to get off of my data.widgets.…
Also too, I am going to need to be getting…my actual selected ids pulled in as well,…as well as some other client states.…So we'll come back and wire that up here shortly…once we're ready to start actually working with our delete.…So now let's go ahead and finish making use…of these new components so we can actually load our page.…So coming into here what we're going to do is at the top…I'm going to pull in, no longer need that…and I no longer need WidgetTable,…but I am going to need to pull in my…WidgetsQuery…from my queries here.…
So there's my WidgetsQuery I'm going to pull in.…
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.