Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solve diamond dependencies #2955

Merged
merged 3 commits into from
Jun 6, 2019
Merged

solve diamond dependencies #2955

merged 3 commits into from
Jun 6, 2019

Conversation

Rich-Harris
Copy link
Member

This solves the problem described in #2660 (I thought it had been fixed in #1882, but that solution was too naive; it only invalidated direct children, whereas invalidations should actually flow through the entire graph).

Could maybe use a bit of tidying up and DRYing out, but thought I'd leave it here anyway

@Rich-Harris Rich-Harris merged commit 38330c9 into master Jun 6, 2019
@Rich-Harris Rich-Harris deleted the gh-2660 branch June 6, 2019 11:25
btakita added a commit to btakita/svelte that referenced this pull request Jul 11, 2019
Derived store reruns subscribers if it's value has not changed when synced.

All invalidators of subscribers are run on a derived store when invalidated.

See sveltejs#2955
btakita added a commit to btakita/svelte that referenced this pull request Jul 23, 2019
Derived store reruns subscribers if it's value has not changed when synced.

All invalidators of subscribers are run on a derived store when invalidated.

See sveltejs#2955
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.

1 participant