Answers for "react hooks link to external site new tab"

0

react hooks link to external site new tab

// Open in the same window
        window.location.href = externalLink;

        // Open in a new window
        window.open(externalLink);
Posted by: Guest on August-21-2021

Code answers related to "react hooks link to external site new tab"

Code answers related to "Javascript"

Browse Popular Code Answers by Language