Check out example codes for "link to section on page html". It will help you in understanding the concepts better.
Code Example 1
<!-- #top is the ID of the div where u wanna link to --> <a href="#top">Go back to the top!</a> <div id="top"></div>
Learn ReactJs, React Native from akashmittal.com