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

fix: refetch only on path change, not on anchor links (e.g. "skip to" links) #2209

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Dec 21, 2023

Refetch only on path change, otherwise anchor links changing fragment (#hash) also trigger refetching.

Possible drawback: won't refetch on query params change. But no route seems to use query params currently.

Before After
photos-skip-before photos-skip-after

Otherwise anchor links changing fragment (#hash) also trigger refetching

Signed-off-by: Grigorii K. Shartsev <[email protected]>
Signed-off-by: Grigorii K. Shartsev <[email protected]>
@ShGKme ShGKme added bug Something isn't working 3. to review Waiting for reviews labels Dec 21, 2023
@ShGKme ShGKme self-assigned this Dec 21, 2023
@artonge artonge merged commit 5f3676d into master Dec 21, 2023
23 checks passed
@artonge artonge deleted the fix/refetch-on-anchor-links branch December 21, 2023 12:11
@ShGKme
Copy link
Contributor Author

ShGKme commented Dec 22, 2023

/backport fca0a9e to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants