Check out example codes for "wordpress get link". It will help you in understanding the concepts better.

Code Example 1

<a href="<?php the_permalink(); ?>">

Learn ReactJs, React Native from akashmittal.com