I am using <Link>
component of Next.js Link from 'next/link';
I like to make something as <Link href={link} target="_blank">
with same behaviour as <a href={link} target="_blank">
(redirect to new tab). Unfortunately, <Link>
does not have target property.
How can I create <Link>
to the new tab without closing the current tab?
P.S. I need it because I have a huge table that loads a lot of time, so if I just using <Link>
with no new tab, every time client likes to go back he needs to wait 30 seconds.