onclick to new tab react code example Example: open a new tab when clicking on a link react <td onClick={()=> window.open("someLink", "_blank")}>text</td>