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
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Check that this is a concrete bug. For Q&A open a GitHub Discussion.
Describe the bug
The request has been completed, but the
isFetching
is still true. This does not seem to be a reasonable behavior.I found that the problem was caused by useFetch L490, This prevents
finally
from being executed immediately afterthen
.The fetch function originally returns a Promise. It seems redundant to wrap fetch with Promise. (I'm not sure why write by this way)
Reproduction
https://play.vueuse.org/#N4IgDghgxg1hDmBTAziAXAbVAOwgW0XRADcBXRAWgBNE8BLEAGhGQHtSAnKQtEU7MDHhMQNZFA50wAFzqtsRAGrkABABFadFQAoAFhAA2AMxV1sKgGIdE2KLoCUp5CogqaxRAdZgz8FaVkDOmkATxcDLwB3ZxD2FWlWFUjJaUQVAFVsOg8OZEMVZTSAGToAIw4ISRQVI1YOAtUAJhUAMhUAZhFOAyJdaWkwZDQAemH+QXgAOihWPGGyShp6YaDS4bMaAA9JvAArVABfRhx8HhAAAQXSZERh5H1rKhE2Tm4icaERMQkpWXkiADKD0QVAaiHSN38gWCdBQky6HB6vD6AyGow+Uxmc0u5Gut3ulRB5wAjAAGSbEyak9bYLY7fYgI4nAhEHGIPHDGbWZ7sLhnDFfFA-GRyBS8ADCrAiiCgf3MrBMKBu2Fk+UKKkleDArGQMPkGWhshQCKRIBRgxGYwEQmms2GbI5XMQJPJlOpG0Q2z2hwAuswjHQDMa0KAAIJgMCTBboUCpLUGCCpIgAHlKAQS5nOUCCsAAvAAdEBeCBUQsAPmLVGTwzT-XkZeewukRDoWrq0hUwH8NwsiGkdhUBxqHFmKgA5A6bpy6ogx-nsPOZthkB2u3RkL3+7pfIwnBYzOvdCDd56ZQE0kPc93EJu7Nox+a0cNzaUzJM6vBhkhpGPd2u8AQVB0ImiBoDUhiQgc9jzvOEDICEtg1PwsqiiolbaI4wDzioLiRBAwQqKeUDnhhMHmCoS5sEGkxePA942FQv57n2di+FGhjkLu677lk9wguxBjkNB2AHPOjIHAcQA
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: