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

Dynamic Forms with Vue.js

Component Communication with Promises Instead of Events 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.

Component Communication with Promises Instead of Events

Our Dynamic Form is complete at this point. The steps communicate with the mama form through events, and the steps even support asynchronous operations.

In this lesson, we'll show you a different approach to communicate with the mama form, using Promises.

If you're not familiar with Promises, please check the documentation of Promise.resolve() and Promise.reject().