Skip to content

Lose reactivity in slot #782

@vankop

Description

@vankop

Version

3.0.0-alpha.5

Reproduction link

https://github.com/vankop/vue3-reactivity

Steps to reproduce

run example with yarn run dev. Clicking on tags change state in input but does not apply 'selected' state on tag.

If remove div on https://github.com/vankop/vue3-reactivity/blob/master/src/Profile.vue#L3 :

<template>
	<panel>
			<tag
				v-for="tag in $props.tags"
				:key="tag"
				:text="tag"
				:selected="$props.selectedTags.has(tag)"
				@click="$emit('click', tag)"
			/>
	</panel>
</template>

All works fine..

What is expected?

expect reactivity works properly

What is actually happening?

reactivity lost

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions