setData not working on v4
johngerome opened this issue ยท 3 comments
Describe the bug
I've noticed that the setData
method on V4 is not working as expected. When I inspect the browser, I am unable to see the payload request.
v3 works fine.
Thank you.
To Reproduce
Steps to reproduce the behavior:
- Go to https://stackblitz.com/edit/hyperfetch-nuxt-demo-xhr9qg?file=pages%2Findex.vue
- Click on the fetch button
- Inspect element -> go to Network tab -> select the "repositories" (404)
- No payload included
Expected behavior
Payload should be there no matter what the response status is.
@johngerome thanks for the issue, we already fixed it ๐๐ป
๐ This issue has been resolved in version 4.0.1 ๐
The release is available on:
npm package (@latest dist-tag)
- GitHub release
Your semantic-release bot ๐ฆ๐
@johngerome Hey! Just wanted to let you know, that we posted the blog post about the new release and as we wanted to thank you for your help, we added a special thanks section to show gratitude for the support you show us. Thank you!
You can find it here: https://hyperfetch.bettertyped.com/blog/hyper-fetch-5-0/