Skip to content

Conversation

foot
Copy link
Contributor

@foot foot commented Aug 23, 2018

This adds a prop scope: <Scope disableStoreViewState /> that will stop scope from trying to load an old viewState from localStorage.

Additionally it adds a sessionStorage intermediary that is checked before localStorage, this stops two Scope instances on the same domain from changing each other's history when they are both open.

@foot foot changed the title [WIP] Adds a scope-cmp prop to disable storing the view state in localStorage Adds a scope-cmp prop to disable storing the view state in localStorage Aug 27, 2018
@foot foot force-pushed the option-disable-store-view-state branch from 14b9497 to 1906e31 Compare August 27, 2018 14:20
@foot foot requested a review from guyfedwards August 27, 2018 14:23
Copy link
Contributor

@guyfedwards guyfedwards left a comment

Choose a reason for hiding this comment

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

⚡️

@foot foot merged commit b090dfe into master Aug 30, 2018
@foot foot deleted the option-disable-store-view-state branch August 30, 2018 06:47
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.

2 participants