Simple problem which I cannot seem to find the answer to. Currently I have built a website with react and when a user opens a new tab it shows the same favicon, image and hard coded title on every tab. I simply wish to do as stackoverflow, and may other web pages and dynamically show the page title in the tab.
My current index.html in the react app just has the hard-coded title. Does anyone know how to change this to show the current web url ? Thanks!
<title>My Website </title>
Via Active questions tagged javascript - Stack Overflow https://ift.tt/m7Z9o1i
Comments
Post a Comment