Skip to content

Add writeFragment dependencies test#578

Closed
kitten wants to merge 3 commits into
masterfrom
chore/add-writefragment-test
Closed

Add writeFragment dependencies test#578
kitten wants to merge 3 commits into
masterfrom
chore/add-writefragment-test

Conversation

@kitten

@kitten kitten commented Mar 7, 2020

Copy link
Copy Markdown
Member

Resolve #574

@changeset-bot

changeset-bot Bot commented Mar 7, 2020

Copy link
Copy Markdown

💥 No Changeset

Latest commit: 9c3cc88

Merging this PR will not cause any packages to be released. If these changes should not cause updates to packages in this repo, this is fine 🙂

If these changes should be published to npm, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kitten kitten force-pushed the chore/add-writefragment-test branch from ab41749 to 9e82b7c Compare March 8, 2020 21:54
@kitten kitten force-pushed the chore/add-writefragment-test branch from 9e82b7c to 40caaed Compare March 8, 2020 21:54
The commutative squashing would previously only start when
the lowest commutative layer (the first one) was written.
This ignored the case however of when this layer has already
been written. When this was the case the stopping condition
was unreachable and commutative layers were never squashed.

The change is to continuously squash the commutative layers
with the least priorities as they're written.

This change also gets rid of the temporary `squash` queue,
which ends up making it a rather nice implementation.
@kitten kitten closed this Mar 8, 2020
@kitten kitten deleted the chore/add-writefragment-test branch March 8, 2020 22:25
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.

cache.writeFragment does not rerender component

1 participant