question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change `document.title` to "Loading..." when changing document

See original GitHub issue

We current use the router props in the Document component to know whether to trigger a call to fetchDocument(). When doing that it would be nice if the document.title could reflect it. A modern-day problem with any client-side navigation is that you don’t get browser native loading animation on the tab when it’s fully loading a new page. This can be simulated pretty well by editing the document.title in the DOM and/or editing the favicon.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
fiji-flocommented, Feb 16, 2022

We do and will keep doing that.

1reaction
KartikSonejicommented, Sep 30, 2021

Oh, thanks for letting me know. Wishing him the best at his new position.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change title of page on .load() with new title of loaded ...
Try setting the new document.title in the callback of that .load. Selected answer. – Dom. Mar 13, 2013 at 14:39.
Read more >
Can the webpage title be changed after site has been loaded.
Any changes to the information in the database will be reflected in the page as soon as the new information is comitted in...
Read more >
Changing Lots of Title Properties - Word Ribbon Tips
One can always change that property trough Windows Explorer. Select the files rightclick - Properties - Details - Title. Works with .doc &...
Read more >
Wrong document title shows when I open a file
Open file in Adobe, click on File/Properties and you can alter the document's title.
Read more >
Change a web page title dynamically using Document.title
The " document. title " property within the JavaScript DOM ( Document Object Model) allows you to change the title of your HTML...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found