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

Change appHistory.navigate(options) to appHistory.reload(options) #118

Merged
merged 3 commits into from
May 25, 2021

Conversation

domenic
Copy link
Collaborator

@domenic domenic commented May 20, 2021

Closes #112. Note that the behavior differs in that previously appHistory.navigate(options) would do a same-URL replace, which is subtly different from a reload in observable ways.

Some follow-up discussion in #117.


Preview | Diff

Closes #112. Note that the behavior differs in that previously appHistory.navigate(options) would do a same-URL replace, which is subtly different from a reload in observable ways.

Some follow-up discussion in #117.
@domenic domenic requested a review from natechapin May 20, 2021 20:07
await appHistory.reload({ navigateInfo });

// Overwrite the state with a new value.
await appHistory.reload({ state, navigateInfo });
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't instantly know how to implement this overwrite, but I assume it's solvable.

@domenic domenic merged commit eae73ce into main May 25, 2021
@domenic domenic deleted the reload-method branch May 25, 2021 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants