Skip to content

Fix translation strings flashing on page load#139

Merged
Yellow987 merged 1 commit intomainfrom
claude/fix-translation-flash-01DybAkyGafwiL9zFLJJeG8p
Nov 16, 2025
Merged

Fix translation strings flashing on page load#139
Yellow987 merged 1 commit intomainfrom
claude/fix-translation-flash-01DybAkyGafwiL9zFLJJeG8p

Conversation

@Yellow987
Copy link
Owner

Enable React Suspense for i18n to prevent translation keys from flashing before the actual translations load. This ensures a smoother user experience by showing a loading spinner while translations are being fetched.

Changes:

  • Enable useSuspense in i18n configuration (src/i18n.js)
  • Wrap App with Suspense boundary and Loading fallback (src/index.js)

Enable React Suspense for i18n to prevent translation keys from flashing
before the actual translations load. This ensures a smoother user experience
by showing a loading spinner while translations are being fetched.

Changes:
- Enable useSuspense in i18n configuration (src/i18n.js)
- Wrap App with Suspense boundary and Loading fallback (src/index.js)
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit 859a9d1):

https://freerangeeggfarm-26736--pr139-claude-fix-translati-jucfjwwy.web.app

(expires Sun, 23 Nov 2025 02:07:18 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: cf468a678c3ea360a7191dee0679efe89a4cbd2d

@Yellow987 Yellow987 merged commit a866da2 into main Nov 16, 2025
2 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.

2 participants