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

In-app linking to the current page created unnecessary update #1388

Merged
merged 2 commits into from
Dec 11, 2020

Conversation

Gnito
Copy link
Contributor

@Gnito Gnito commented Dec 8, 2020

This handleLocationChanged call is also the root cause for the previous double rendering after full page refresh: #1380
(Although, that PR was a good step to uncouple Router and Redux store - it fixed the full page load and improved the debuggability of this issue.)

Can be debugged by adding a breakpoint to componentDidUpdate and clicking About page link in the footer.

@Gnito Gnito changed the title Call for the same page created unnecessary update In-app linking to the current page created unnecessary update Dec 9, 2020
@Gnito Gnito force-pushed the fix-same-page-double-rendering branch from 09ba3e0 to 92acc89 Compare December 11, 2020 11:51
@Gnito Gnito force-pushed the fix-same-page-double-rendering branch from 92acc89 to 9d780b2 Compare December 11, 2020 12:00
@Gnito Gnito merged commit 5f5ae05 into master Dec 11, 2020
@Gnito Gnito deleted the fix-same-page-double-rendering branch December 11, 2020 12:29
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