The video for this lesson is currently being updated, please read the transcript instead.

Adding keep-alive to router to maintain filter state

In this lesson, we're going to be using the keep-alive component to cache our pages.

To do this, we're going to learn about some advanced concepts including slot props and the meta component.

Problem

There's a problem that we have with our app that you may not have noticed. Let's select a few filters and then click through to one of the movies. We'll then navigate back to the main page.

To view the complete lesson you'll need to login or join this course.


Click to load comments...