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

Adding display=swap to GoogleFont in react-typography #267

Open
emanueleperuffo opened this issue Jul 30, 2020 · 0 comments
Open

Adding display=swap to GoogleFont in react-typography #267

emanueleperuffo opened this issue Jul 30, 2020 · 0 comments

Comments

@emanueleperuffo
Copy link

Hi and sorry for not opening a PR about this, but I don't know the consequences of changing code here (Gatsby plugin etc...).

My Lighthouse is telling me I should improve the way my fonts are loading. In fact I have some google fonts missing the display=swap query parameter. Have you ever thought of including it? Maybe as a prop of GoogleFont in react-typography and an option in the Gatsby plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant