Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jeremenichelli/font-strategy-single-page-app
- Owner: jeremenichelli
- Created: 2018-07-15T21:57:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-15T22:08:29.000Z (over 6 years ago)
- Last Synced: 2024-10-18T19:39:38.937Z (4 months ago)
- Language: JavaScript
- Homepage: https://jeremenichelli.io/2018/07/font-loading-strategy-single-page-applications/
- Size: 73.2 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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._