You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Look up Search snapshot member keys directly in useOnyx #107164
When the App useOnyx redirected a member key read (for example report_X) to a Search snapshot, it called getDataByPath. That function ran a startsWith check against every ONYXKEYS.COLLECTION prefix and rebuilt a key string that always equals the original key. This work ran on every render of every redirected read.
Solution
Remove getDataByPath and look up the key directly in the snapshot data. The result is identical, and each read now costs one property lookup.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.41-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
melvin-bot commentedon Nov 18, 2026
@mountiny @adhorodyski
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.41-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: