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
Spend tab: re-fire search on focus after cache clear (PR #88994) #89095
After PR #85234 introduced a bottom TabNavigator with freezeOnBlur: true, the Search/Spend screen stays mounted across tab switches. When the user runs Clear cache and restart, Onyx.clear() wipes snapshot data, but the useEffect in useSearchPageSetup that calls search() does not re-run because its dependencies are unchanged. The skeleton loading state can persist until search() runs again.
Approach (from PR)
Extract the search-firing logic into a useCallback and add useFocusEffect so that when the Spend tab regains focus after a cache clear, search() is re-fired if snapshot data is missing.
QA
Same as PR Tests / QA Steps: Spend > All expenses → Troubleshoot > Clear cache and restart → quickly return to Spend tab; expenses should load instead of staying on skeleton indefinitely.
Activity