mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-15 09:00:29 +01:00
[PR #2] [MERGED] fix: use use-fetch to avoid to refetch during hydration #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArthurDanjou/artsite/pull/2
Author: @Barbapapazes
Created: 6/23/2024
Status: ✅ Merged
Merged: 6/23/2024
Merged by: @ArthurDanjou
Base:
master← Head:fix/stats📝 Commits (1)
7678c95fix: use use-fetch to avoid to refetch during hydration📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
app/components/content/Stats.vue(+3 -1)📄 Description
Hello 👋,
This PR change the usage of
$fetchtouseFetchto avoid both a client-side and server-side fetch.You can learn more with this link: https://nuxt.com/docs/getting-started/data-fetching#network-calls-duplication
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.