next.js
next.js copied to clipboard
fix(next): added new error info in next/link component.
Actually it's not dynamic link:
Will save much time if it's more clear! :(
Allow CI Workflow Run
- [ ] approve CI run for commit: ba9cd3f87f5e9e8978b3b9c881b16f418cf4c1d8
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer
Hi @devjiwonchoi
Thanks for your review.
- the 2nd
somemethod is needed, because it can not combined with another one for different error handling. - the object link happens when the
<a>has anobjecthref<page route> is clicked. So it's not easy to setup this test case in this file: https://github.com/vercel/next.js/blob/canary/test/e2e/app-dir/dynamic-href/dynamic-href.test.ts