Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeremenichelli/font-strategy-single-page-app

React project showing how to observe fonts in single page apps
https://github.com/jeremenichelli/font-strategy-single-page-app

Last synced: 7 days ago
JSON representation

React project showing how to observe fonts in single page apps

Awesome Lists containing this project

README

        

# Font loading strategy for single page applications

React project showing how to observe fonts in single page apps.

This React application loads a separate bundle _on mount_ that observes web fonts and switch to them when ready to not block content using dynamic import and font face observer package.

Find out how it is done in [this article](https://jeremenichelli.io/2018/07/font-loading-strategy-single-page-applications/).

## Local development

_This project was created thanks to [create-react-app](https://github.com/facebook/create-react-app), check out its documentation to see how to start the project._