3 ms·
If you've only worked with vue2, I'd give vue3 a look. I like the new composition API a lot. > you can access the instance of a parent or child component witho
by CodesInChaos 5y ago
If you've only worked with vue2, I'd give vue3 a look. I like the new composition API a lot.
> you can access the instance of a parent or child component without too much trouble
$children was removed in vue3 https://v3.vuejs.org/guide/migration/children.html https://v3.vuejs.org/guide/migration/children.html
> things like hooks
Vue doesn't have react style hooks, but the composition API fills a similar niche.
> being able to have components with multiple children at the root.
Vue3 seems to support this: https://v3.vuejs.org/guide/migration/fragments.html https://v3.vuejs.org/guide/migration/fragments.html