How I put the scroll percentage in the title bar

Add a nice hint of how far you have read a page by putting the scroll percentage in the title bar. Learn how to implement it with React and Gatsby.