Skip to content

Do not process the same shares twice - #20771

Merged
rullzer merged 1 commit into
masterfrom
fix/sharing-reactivity
May 1, 2020
Merged

Do not process the same shares twice#20771
rullzer merged 1 commit into
masterfrom
fix/sharing-reactivity

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

Shares are processed twice. Vue is smart to not replace the whole data.
So when it's updated again, the share objects are changed but because the share id is the same, vue don't care and does not refresh everything (specifically the reactive state) and the objects references break....

@rullzerrullzer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YEEHAA
Works again!

@rullzer

Copy link
Copy Markdown
Member

/compile amend /

@gary-kimgary-kim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@skjnldsv
skjnldsvforce-pushed the fix/sharing-reactivity branch from f9ff454 to fa208aeCompareMay 1, 2020 13:29
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/compile amend /

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
@rullzer
rullzer merged commit 24bb4a0 into masterMay 1, 2020
@rullzer
rullzer deleted the fix/sharing-reactivity branch May 1, 2020 17:15
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

I'm wondering if we should backport 🤔

@rullzerrullzer mentioned this pull request May 2, 2020
2 tasks
@MorrisJobke

Copy link
Copy Markdown
Member

I'm wondering if we should backport 🤔

Let's leave it in 19 for now.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@skjnldsv@rullzer@MorrisJobke@gary-kim