Skip to content
This repository has been archived by the owner on Mar 5, 2018. It is now read-only.

Check current tag before re-rendering #52

Closed
wants to merge 3 commits into from

Conversation

chadhietala
Copy link
Member

I'm not sure what is going on with the tests here, but this is likely what needs to be done. Should close #50 and #43

@chadhietala chadhietala requested a review from tomdale April 9, 2017 03:08
@chadhietala
Copy link
Member Author

This is likely not correct.

@tomdale
Copy link
Contributor

tomdale commented Apr 9, 2017

This is unnecessary because the only thing that should be scheduling rendering should also bump the current revision. If there are places that are scheduling a rerender without bumping the tag, we should discuss that because it's a violation of the current assumptions.

@chadhietala
Copy link
Member Author

Well there is still something going wrong. An idempotent set causes the everything to get re-rendered.
screen shot 2017-04-09 at 12 07 15 pm

@tomdale
Copy link
Contributor

tomdale commented Apr 9, 2017

I believe that is working as intended. The diffing happens on reads, not writes. The set would cause CURRENT_REVISION to be bumped. @chancancode @wycats Please let me know if I have this wrong.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants