Managing routes is an essential feature for most SPAs. With the new Vue Router in alpha stages, we can already start seeing how it works in Vue3.
watchEffect is one of the ways to track reactive dependencies in Vue3. We write a method with reactive properties, and when one updates, our method triggers.
In this tutorial, we'll build a basic DatePicker component using elements to model data and emit events to a parent component.
Looking at the Composition API docs, dependency injection using provide and inject will be a lot more common in Vue 3.0, especially in building Vue3 plugins.