In this video, Emmanuel Henri finalizes the friends component by coding the friend item component. He also adds the proper GraphQL fragment with Relay code.
- [Instructor] Alright so let's work on adding…the friend item component…and then we'll be able to start our application.…So what I want you to do…is go into the friends…and copy everything from here…and paste it in the friend.…But before we continue,…let's remove the ReactDOM where we don't need it.…We don't need it on this particular page…on the friends component.…The only place we actually need the ReactDOM…is on the app where we use it with the React down here.…
Okay?…So let's save that.…We also need to remove it on friends list.…You can keep it.…I mean, it's not going to impact the application,…it's just less code to go through when we compile.…Okay so we'll save that,…and then go into your friend…and inside of our friend…you will need to remove those two lines first, like so.…And then make sure your component here…and below here…is not friends but friend…because you don't want to do the exact same component here.…
You're going to get an error if you do that.…Alright.…So the first thing I want you to do…is remove this code and then replace it with the li…
- Setting up GraphQL
- Running queries
- Updating schema and solvers
- Adding data
- Adding Relay entry components
- Coding GraphQL fragments
Skill Level Intermediate
Node.js: Build Your First Microservicewith Daniel Khan2h 9m Intermediate
1. Introduction and Setup
2. GraphQL Development
3. Relay Setup
4. React Integration
Next steps1m 12s
- 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.