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

Improve how view state is saved #367

Merged
merged 1 commit into from
Dec 20, 2017
Merged

Improve how view state is saved #367

merged 1 commit into from
Dec 20, 2017

Conversation

elihart
Copy link
Contributor

@elihart elihart commented Dec 20, 2017

This should address #346 and #308

The first time a model is bound we ensure that the view's original state is restored, so that state from previous models isn't carried over.

Also, when a view is rebound due to a model change the state is no longer restored.

I have also updated the wiki page about saved state to clarify behavior and usage

@elihart elihart merged commit 8da59c4 into master Dec 20, 2017
@elihart elihart deleted the eli-saved_state_fixes branch December 20, 2017 23:17
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