Check out example codes for "change html title". It will help you in understanding the concepts better.

Code Example 1

<title>This is the title</title>

Code Example 2

document.title = "My New Page Title";

Learn ReactJs, React Native from akashmittal.com