about summary refs log tree commit diff
path: root/src/lib/react-query.ts
Commit message (Collapse)AuthorAgeFilesLines
* Reduce polling (#2465)Paul Frazee2024-01-101-2/+30
| | | | | | | | | | | | | * Move profile and preference polling to polls-on-foreground * Refetch prefs on feeds screen refresh since polling no longer occurs * Reduce notifications polling by 50% if there's already an unread * Disable feed polling if we know we have content * Disable the hard refresh after 1 hour in case it's the cause of the random feed refresh bug * Fix types
* Disable retrying globally (#2038)Eric Bailey2023-11-291-0/+5
|
* Disable RQ structural sharing (#2022)dan2023-11-281-0/+4
|
* Disable refetchOnWindowFocus on react-query (#1936)Paul Frazee2023-11-161-1/+11
|
* add React Query and hook up to existing functionality (#1358)Ansh2023-09-151-0/+3
* add React Query and hook up to existing functionality * wire in remote data, add error message * remove hard-coded feeds * oops fix logic * add loading state * fix loading on mobile --------- Co-authored-by: Eric Bailey <git@esb.lol>