Skip to content

refactor: optimize font loading process with critical and secondary f…#735

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
njohnchi:refactor/lazy-load-fonts
Jun 28, 2026
Merged

refactor: optimize font loading process with critical and secondary f…#735
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
njohnchi:refactor/lazy-load-fonts

Conversation

@njohnchi

Copy link
Copy Markdown
Contributor

…ont handling

  • Critical fonts (Regular, Medium, Bold) loaded synchronously before splash screen hide
  • Remaining variants loaded lazily after initial render completes
  • Lazy-loaded fonts become available within 2 seconds of app ready
  • No FOUT (flash of unstyled text) for critical paths

closes #603

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@njohnchi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Thank you for the contribution to the project.

@RUKAYAT-CODER RUKAYAT-CODER reopened this Jun 28, 2026
@RUKAYAT-CODER RUKAYAT-CODER merged commit cfe50d5 into rinafcode:main Jun 28, 2026
1 of 18 checks passed
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

Successfully merging this pull request may close these issues.

[Performance] fontService loads all font weight variants on startup — adds 300ms to cold start

2 participants