BetterTyped/hyper-fetch

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:

  1. Go to https://stackblitz.com/edit/hyperfetch-nuxt-demo-xhr9qg?file=pages%2Findex.vue
  2. Click on the fetch button
  3. Inspect element -> go to Network tab -> select the "repositories" (404)
  4. No payload included

Expected behavior
Payload should be there no matter what the response status is.

prc5 commented

@johngerome thanks for the issue, we already fixed it ๐Ÿ™๐Ÿป

๐ŸŽ‰ This issue has been resolved in version 4.0.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

prc5 commented

@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/