Skip to content

Conversation

@posva
Copy link
Member

@posva posva commented Oct 1, 2021

Same as #795

It seems to still be failing.

It creates vuejs/pinia#648

@posva
Copy link
Member Author

posva commented Oct 3, 2021

So it works 🤔
I think it has to deal with the rename of the main branch

What is weird is that the error "toRefs() expects a reactive object" appears on the server on Nuxt even though it's running 1.2.2

Regarding the test, should we add this? It doesn't seem like it was added back then

@posva posva changed the title test: add failing test of isReactive test: isReactive of dynamically added properties Oct 3, 2021
@posva
Copy link
Member Author

posva commented Oct 3, 2021

Found the problem: setting twice. I'm going to fix this on Pinia but I don't think this edge case is currently working as expected.

posva added a commit to vuejs/pinia that referenced this pull request Oct 3, 2021
Fix #648

If this PR vuejs/composition-api#821 gets fixed, this commit can be reverted
@antfu antfu changed the title test: isReactive of dynamically added properties fix(ssr): set() twice lose reactivity Oct 5, 2021
@antfu antfu merged commit 416845a into main Oct 5, 2021
@antfu antfu deleted the bug/ssr-isReactive branch October 5, 2021 00:47
rajesh-bhavnani pushed a commit to rajesh-bhavnani/Jason-pinia that referenced this pull request Dec 25, 2022
Fix #648

If this PR vuejs/composition-api#821 gets fixed, this commit can be reverted
xwzwx added a commit to xwzwx/vu-pinia that referenced this pull request Dec 24, 2023
Fix #648

If this PR vuejs/composition-api#821 gets fixed, this commit can be reverted
stackmaster92 added a commit to stackmaster92/pinia-business that referenced this pull request Nov 24, 2024
Fix #648

If this PR vuejs/composition-api#821 gets fixed, this commit can be reverted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants