T
TanStack2y ago
ratty-blush

Navigate to a new tab

Hello guys, whats the best way to "open a new tab" with react router? I just need to open a new tab for another app. Im not sure if I should tanstack-router for this?
3 Replies
genetic-orange
genetic-orange2y ago
Regardless of the library, you should be able to add target="_blank" to your <Link component and it will open in a new tab!
ratty-blush
ratty-blushOP2y ago
Yeah but I got error from ts because I dont have that route
exotic-emerald
exotic-emerald2y ago
which route?

Did you find this page helpful?