[Vuejs]-Vue Composition Api render function sync emit doesn't work

0👍

After some research, I’ve found that activeTabId is being updated but TabContainer somehow doesn’t consider it reactive value so it wasn’t changing. I’ve wrapped all TabContainer logic with watchEffect watching for activeTabid changes and it now works as it should!

https://codesandbox.io/s/solitary-currying-50ick?file=/src/App.vue

Leave a comment