Learn how to use the new & improved font optimization in Next.js 13, for both local and remote fonts from Google. @next/font automatically self-hosts your font files (for better privacy) and reduces layout shift by automatically generating a fallback font. It's pretty neat!
Learn more: nextjs.org/docs/basic-feature...
#nextjs #react
15 ноя 2022