list of known feeds needs to update when user adds or deletes feeds #3

Closed
opened 2025-07-21 09:57:26 +00:00 by ferrous_sapling · 2 comments

Right now they need to refresh the page to get the correct/updated list of known feeds displayed on their page.

Technically speaking, this limitation comes from the fact that we read the list of known feeds from IndexedDB inside the root +layout.ts load handle.

Right now they need to refresh the page to get the correct/updated list of known feeds displayed on their page. Technically speaking, this limitation comes from the fact that we read the list of known feeds from IndexedDB inside the root +layout.ts `load` handle.
Author
Owner

In theory, nothing needs to be changed from the user's point of view - these updates should happen automatically without further prompting or new UI elements.

On the technical side, we need to implement something approaching tanstack query. In theory, sveltekit's invalidate helper function could do the trick.

We might also investigate directly using tanstack query as a (further) wrapper for IndexedDB interactions.

In theory, nothing needs to be changed from the user's point of view - these updates should happen automatically without further prompting or new UI elements. On the technical side, we need to implement something approaching [tanstack query](https://tanstack.com/query/latest/docs/framework/svelte/overview). In theory, sveltekit's [invalidate](https://svelte.dev/tutorial/kit/invalidation) helper function could do the trick. We might also investigate directly using tanstack query as a (further) wrapper for IndexedDB interactions.
Author
Owner

implemented/solved by #5

implemented/solved by #5
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ferrous_sapling/activity-pub-explorer#3
No description provided.