Skip to content

Commit 5c58751

Browse files
authored
Remove forwardRef from Link in App Router (#77471)
App Router is running React >19, so we can remove forwardRef and receive the ref as a prop instead. The Pages Router version of Link is unchanged to support older React versions.
1 parent e9a3c72 commit 5c58751

File tree

1 file changed

+327
-332
lines changed
  • packages/next/src/client/app-dir

1 file changed

+327
-332
lines changed

0 commit comments

Comments
 (0)