Answers for "react hooks link to external site"

0

react hooks link to external site

// 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"

Code answers related to "Javascript"

Browse Popular Code Answers by Language