Dynamic Forms with Vue.js
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

🚧 NOTICE: You are watching a Vue.js 2 lesson

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().