Forwarded slots not updating using template tags
Version
3.1.4
Reproduction link
Steps to reproduce
Click on the "Change data" button and see that the data doesn't change.
What is expected?
The item label should change.
What is actually happening?
The slot isn't rendering again
I came into this issue while forwarding slot like this:
<Comp>
<template #default="data">
<slot v-bind="data"></slot>
</template>
</Comp>
Looking at the generated code, it looks as if normal slots are marked as forwarded, but tagged templates (e.g. <template #default>
) are marked as stable.