Use navigate.intercept to show browser loading spinner/indicator #11318
                  
                    
                      piotrblasiak
                    
                  
                
                  started this conversation in
                Proposals
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Altho the API is still experimental, it's already implemented by a lot of browsers.
https://mastodon.social/@developit/109865246509715580
Is it possible to use this with react router to show a native loading indicator when navigating? Currently, the user has no idea that something is indeed happening after clicking on a link.
navigate() should also return a promise in my opinion.
Beta Was this translation helpful? Give feedback.
All reactions