Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setup(props) {
onUpdated(grandChildUpdated)
return () =>
h(
'div',
{
class: 'c2',
style: { fontWeight: 'bold' }
},
props.foo
)
}
})
setup(props: any) {
onUpdated(childUpdated)
return () => h(GrandChild, props)
}
}