import Link from 'next/link';
...
<Link href="/test">test</Link>
Clicking on the link doesn't route to the next page when the network is slow, and the entire page hasn't been completely loaded (all the js chunks haven't been fetched from the network, takes about 5secs on slow 3G).
But, when I wait for the entire page and all js files to load fully (about 10seconds), it starts working fine.