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

Remove page-specific font example from docs #34694

Merged
merged 1 commit into from Feb 22, 2022

Commits on Feb 22, 2022

  1. Remove page-specific font example from docs

    The Font Optimization docs have an outdated example that recommends
    adding fonts via `next/head`. This is an anti-pattern that Next.js
    has already warned about through ESLint for a while (see
    https://nextjs.org/docs/messages/no-page-custom-font) and is now
    starting to warn about through the console because it won't work
    well with streaming architecture.
    
    This change removes the outdated example from the docs.
    Fixes vercel#34693
    kara committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    68e66d2 View commit details
    Browse the repository at this point in the history