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

Use font optimization from Next #9

Open
newswim opened this issue Nov 10, 2024 · 0 comments
Open

Use font optimization from Next #9

newswim opened this issue Nov 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@newswim
Copy link
Collaborator

newswim commented Nov 10, 2024

https://nextjs.org/docs/app/building-your-application/optimizing/fonts

We want to make sure that there's not a flash of unstyled content while loading things like fonts, image assets, and css. Next has some advanced features like server-side rendering to ensure that only the minimal amount of JS/CSS are shipped to the client. SSR is an "advanced" feature, but they also have some simple React abstractions for loading fonts from Google which should ensure that fonts are cached locally.

@newswim newswim added the enhancement New feature or request label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants