Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Resource Hints section contains ReactDOM.prefetchDNS method typo #65110

Closed
jonathan-ingram opened this issue Apr 27, 2024 · 1 comment · Fixed by #65111
Closed

Docs: Resource Hints section contains ReactDOM.prefetchDNS method typo #65110

jonathan-ingram opened this issue Apr 27, 2024 · 1 comment · Fixed by #65111
Labels
Documentation Related to Next.js' official documentation. locked

Comments

@jonathan-ingram
Copy link
Contributor

What is the improvement or update you wish to see?

When visiting the Resource Hints section (found inside the generateMetadata page) it incorrectly states the existence of ReactDOM.preconnectDNS when it should be declared as ReactDOM.prefetchDNS instead.

Is there any context that might help us understand?

This typo is mentioned inside the Good to know boxout, when it explains that React 18.3 does not yet include type definitions for some of the ReactDOM methods.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/api-reference/functions/generate-metadata#resource-hints

Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant