Route validation
In the last lesson, we gave the movie page a dynamic route so that we can pass a movie ID to the component instance.
In this lesson, we'll use that ID to display the correct content, as well as answer the question - what do we do in the case where an invalid ID is provided?
Movie page content
One of the great things about components is that they can be reused in different parts of your app.
Click to load comments...