Check out example codes for "rel="noopener noreferrer". It will help you in understanding the concepts better.

Code Example 1

rel="noopener noreferrer"

Code Example 2

var newWnd = window.open();
newWnd.opener = null;

Learn ReactJs, React Native from akashmittal.com