SWR docs - Middleware code examples in Typescript #1739
Unanswered
tannguyencse19
asked this question in
Ideas
Replies: 1 comment 1 reply
-
You can contribute to the docs in the https://github.com/vercel/swr-site repository, thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I see that in source code has this line
So the
Middleware
code examples in Typescript will beBug: The function name must be
myMiddleware
, notMyMiddleware
or React will throw Hook violation errorI can't find where the docs folder to make pull request 😃
Beta Was this translation helpful? Give feedback.
All reactions