How to open a link in new tab in react router?

Posted by Jessica Taylor | Updated on

Want to open a link in new tab in react router? Use the following script to open a link in new tab using reactjs.

Similar to the above example, but doesn’t error out if the window couldn’t be opened.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers