Check out example codes for "javascript.void(0)". It will help you in understanding the concepts better.

Code Example 1

<a href="javascript:void(0);" ondblclick="alert('Welcome')"> Double click Please </a>

Code Example 2

<a href="JavaScript:void(0)">Dead Link</a>

Learn ReactJs, React Native from akashmittal.com