Difference between Fetch API and Next.js clients #1856
ZilvinasAbr
started this conversation in
General
Replies: 1 comment 7 replies
-
Hey @ZilvinasAbr, from Next.js documentation:
That's the main difference and thing people were complaining about not working with the Fetch client. In terms of how this translates into clients, the Next.js client has a slightly different interceptor signature and we don't pass request around, only options. And it supports the Next.js features of course. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, was looking a bit into source code of both fetch client and next client and the differences seemed to be quite "cosmetic". I was wondering if that is the case or there is something more that is happening with Next.js's client of hey-api?
Beta Was this translation helpful? Give feedback.
All reactions