From the course: React: Design Patterns (2021)

Unlock the full course today

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

Server instructions

Server instructions

- [Instructor] Now that we've learned a little bit about what container components are exactly and their main goal, what we're going to do is take a look at a few examples that demonstrate how container components are used. The way we're going to go about this is we're going to start off with a fairly simple and not very re-usable example. Over the course of the next few videos, we're going to improve it and slowly make it more and more re-usable until we reach what I would consider a good stopping point. The first thing you're going to want to do here is get the starting state of the exercise files because it's different than the way we left it after we talked about layout components. Let's just discuss a few of the things that it contains. The first thing is this app component. There's not really anything in here. We've basically cleaned it all out of the code that we wrote before. Then we also have these UserInfo and…

Contents