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

perf: ensure unnecessary config translations are not sent to the client #10524

Merged
merged 11 commits into from
Jan 15, 2025

Conversation

AlessioGr
Copy link
Member

@AlessioGr AlessioGr commented Jan 12, 2025

This will reduce the size of the initial HTML. While we already weren't sending default translations to the client (unless requested), custom translations unintentionally made it into the ClientConfig.

The ClientConfig should not contain any translations, as those are sent to the server outside of the ClientConfig - using the TranslationProvider.

@AlessioGr AlessioGr enabled auto-merge (squash) January 15, 2025 20:11
@AlessioGr AlessioGr merged commit 3fb6ac3 into main Jan 15, 2025
70 checks passed
@AlessioGr AlessioGr deleted the perf/lexical-i18n branch January 15, 2025 20:22
Copy link
Contributor

🚀 This is included in version v3.18.0

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

Successfully merging this pull request may close these issues.

2 participants