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

Code Example 1

<a href="javascript:void(0)">Link title</a>

Learn ReactJs, React Native from akashmittal.com