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

Advanced Components: Exposing Internal State

Mouse Coordinates Exercise 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.

Mouse Coordinates Exercise

In this lesson, we will create a MouseCoordinates component using slot props in Vue based on the exercise left in the previous lesson. Such components are known as renderless components and are useful for sharing functionality and/or state even when DOM rendering is required.

Links