Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Dynamic Forms with Vue.js

Preserve Component State thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Preserve Component State

In this lesson, we're taking a look at a powerful Vue.js feature - the keep-alive component - that allows us to preserve a dynamic component's state.

This feature is perfect in our dynamic form, as we want to be able to navigate back and forth without loosing the data. You can also argue that it is a mandatory user experience feature.