Skip to content

Commit

Permalink
Remove mention of missing type definitions for ReactDOM
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-ingram committed Apr 29, 2024
1 parent 62762ba commit 312b559
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.prefetchDNS`. You can use `// @ts-ignore` as a temporary solution to avoid type errors.
## Types
Expand Down

0 comments on commit 312b559

Please sign in to comment.