erikras / erikras/react-redux-universal-hot-example

Scrolling to the top of the same page when link is clicked with asyncConnect

Open
#1,053 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I am going from Homepage -> Container A that has an asyncConnect. Once I click on the link to go to the container, the page scrolls to the top, the url changes but I am still on the Homepage until the promises in asyncConnect resolve. It's a bad experience because it scrolls to the top although it has not done a route change yet other than the url.

Thoughts how to fix this?
CC: @sars

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.