Check out example codes for "how to redirect a page to another url in html". It will help you in understanding the concepts better.

Code Example 1

<meta http-equiv="Refresh" content="0; url=https://www.w3docs.com" />

Learn ReactJs, React Native from akashmittal.com