-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-09-21] [Performance] Improve translations #25466
Comments
Asking in callstack room who will take these on |
Hey, as mentioned in the slack, I'll be taking over this one 👋 |
Thanks |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
PR to fix regressions is ready: #27358 |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.69-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-09-21. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
@BeeMargarida, @mountiny Eep! 4 days overdue now. Issues have feelings too... |
@BeeMargarida, @mountiny 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@BeeMargarida, @mountiny 10 days overdue. I'm getting more depressed than Marvin. |
We can close this now, thanks! The reviewer was from Callstack |
[Performance] Improve translations, coming from here
Problem
Translations uses lodashGet which adds some overhead + translations are being called multiple times (some makes sense because of rerenders)
Proposal
We use lodashGet to get the key, so instead of
### Summary of solution
Will remove the need of using lodashGet and its extra overhead,
We need to make sure all translations uses the HOC: withLocalize or the hook: useLocalize or at least going through: Localize.translate
The text was updated successfully, but these errors were encountered: