react open url on button click code example Example: react open url with button window.open(newPageUrl, "_blank")