BetterTyped / hyper-fetch

⚡ Fetching and realtime data exchange framework.
https://hyperfetch.bettertyped.com/
Apache License 2.0
1.03k stars 28 forks source link

setData not working on v4 #51

Closed johngerome closed 1 year ago

johngerome commented 1 year ago

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 1 year ago

@johngerome thanks for the issue, we already fixed it 🙏🏻

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 4.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

prc5 commented 1 year ago

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