Skip to content

In Vue 2 and Vue 3, the default props of components with Object type behaves inconsistently #12050

Discussion options

You must be logged in to vote

your object getter is not tracked

- default: () => ({
+ default: () => reactive({

play

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JohnieXu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants