From the course: MERN Essential Training

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Extend the application

Extend the application

- [Instructor] Okay, so we're going to do a few fixes in the application just to make sure everything works properly. As a developer, it's important to understand or see that you're not alone when you're doing typos, you're doing little mistakes here and there, and it happens to me too. So I want to go through the exercise of figuring those things out together. So right now, let's go back to here. Let's reload this. And there's a few things that we can see that are wrong. So this is the string ref. You can read on it here and make the changes. It's not a big issue, but if you want to fix it, you can fix that one. The first thing that I need to fix here is the unique key prop for PlayerList. So let's go in PlayerList and take a look at what that is. Let's go here and go in PlayerList. And here, what I'm doing is .id, but it's _id. That's what I get back from the actual database. So that would fix the first thing that we have. Now when we update the player right now, something's not…

Contents