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

About the Advanced Components: Exposing Internal State course

When developing a Vue application, you may occasionally need to expose a component's internal state. This allows the component consumer to finely control it.

One common scenario where this is useful is with modal overlays. Although a modal typically has its own trigger, there may be situations where you need to toggle the same modal with a trigger external to the component.

Throughout this course, we will explore various techniques for exposing a component's internal state in Vue, as well as ways to achieve the same result using Vue's utilities without explicitly exposing the state.