(upbeat music)…- [Instructor] Let's do a demonstration now…of querying and mutating the cache directly.…So let's go ahead and take a look…at how to do some direct cache updates with our mutations…in terms of updating the actual client state itself.…So what we're going to do is we're going to set this up…so that we can actually switch the view row…to an edit row like a row with actual input fields in it…and then be able to save it.…So we're going to implement the edit widget part of this…which is going to be editing the client state…like which widget we're editing at the moment…and then we're also going to implement the actual ability…to save the widget which will then be a server operation…and we're going to introduce both of them…into our tree of components that are providing the data…and operations to the widget table.…
So coming back over to here,…we're going to switch back over to our editor.…And the first thing we've got to do…is actually come into the index js of our application…and we need to expand out the defaults section…
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.