Skip to content

Commit

Permalink
docs: Fix typo for ReactDOM.prefetchDNS method inside Resource Hint…
Browse files Browse the repository at this point in the history
…s section (#65111)
  • Loading branch information
jonathan-ingram committed Apr 29, 2024
1 parent c31b761 commit 15f7418
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,6 @@ ReactDOM.prefetchDNS(href: string)
>
> - These methods are currently only supported in Client Components, which are still Server Side Rendered on initial page load.
> - Next.js in-built features such as `next/font`, `next/image` and `next/script` automatically handle relevant resource hints.
> - React 18.3 does not yet include type definitions for `ReactDOM.preload`, `ReactDOM.preconnect`, and `ReactDOM.preconnectDNS`. You can use `// @ts-ignore` as a temporary solution to avoid type errors.
## Types
Expand Down

0 comments on commit 15f7418

Please sign in to comment.