[Bug] API calls made twice through ApiLoader #1

Closed
opened 2023-09-22 14:14:42 +00:00 by phundrak · 1 comment
Owner

Due to the behaviour of Cache.vue and ApiLoader.vue, any call to an API is made twice. A fix would be to simply pipe the API response in the Cache.vue component instead of subscribing to its observer.

Due to the behaviour of [`Cache.vue`](https://labs.phundrak.com/phundrak/phundrak.com/src/commit/be09cf68d5b003d06f290872900a943237033cbb/content/.vuepress/components/Cache.vue#L43) and [`ApiLoader.vue`](https://labs.phundrak.com/phundrak/phundrak.com/src/commit/be09cf68d5b003d06f290872900a943237033cbb/content/.vuepress/components/ApiLoader.vue#L54), any call to an API is made twice. A fix would be to simply pipe the API response in the `Cache.vue` component instead of subscribing to its observer.
phundrak added the
bug
label 2023-09-22 14:14:42 +00:00
phundrak self-assigned this 2023-09-22 14:14:42 +00:00
Author
Owner

Fixed in 2496bff82f

Fixed in 2496bff82f04fbb5ec825a06640608ccdfb4fe27
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
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: phundrak/phundrak.com#1
No description provided.