Current section: Server Components 27 exercises
Problem

Async Components

Loading exercise

Transcript

00:00 Now that we have RSEs on the server, we can take all of our UI data requirements and move those to the part of the UI that requires them. So right now, our HanoJS middleware is where we're loading the ships and the ship results for the search. We can delete those, and then in the components that need that data, they can request them themselves

00:19 because we can use async await. And because it's all running on the server, they can talk directly to the database also, which is super sick. So that's what you're going to be doing in this exercise. Just move things over to the components that require that specific data. And when you're done, you should just feel like a nice, warm feeling inside

00:38 that it's a much more manageable code base. So let's get into it.