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
In #222 I create a second useQuery hook for the /alerts endpoint, the intention was to begin incrementally deprecating the old hook, so that we could make changes to the new one without impacting existing data fetching.
This has had the rather predictable side-effect of making duplicate API calls to the server to fetch the same list of alerts. Given that this endpoint also doesn't support pagination, this is resulting in some degraded performance with users with large numbers of alerts. See this message from @danbarr
I know we've brought up DB size/performance, just wanted to note that it's getting fairly noticeable, here's mine with the latest UI pulled from main. My DB file is nearing 40MB.
2025-01-29_18-51-49.mp4
The text was updated successfully, but these errors were encountered:
Description
In #222 I create a second
useQuery
hook for the/alerts
endpoint, the intention was to begin incrementally deprecating the old hook, so that we could make changes to the new one without impacting existing data fetching.This has had the rather predictable side-effect of making duplicate API calls to the server to fetch the same list of alerts. Given that this endpoint also doesn't support pagination, this is resulting in some degraded performance with users with large numbers of alerts. See this message from @danbarr
2025-01-29_18-51-49.mp4
The text was updated successfully, but these errors were encountered: