You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read and applied the Global Configuration example with SWRConfig and the fetcher. I noticed that useSWR hook works fine without fetcher parameters but useSWRInfinite hook does not
Expected Behavior
the official doc stated that The context SWRConfig can provide global configurations (options) for all SWR hooks
This discussion was converted from issue #2349 on January 24, 2023 15:53.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Bug report
Description / Observed Behavior
I have read and applied the Global Configuration example with SWRConfig and the fetcher. I noticed that useSWR hook works fine without fetcher parameters but useSWRInfinite hook does not
Expected Behavior
the official doc stated that The context SWRConfig can provide global configurations (options) for all SWR hooks
Repro Steps / Code Example
Additional Context
SWR version 2.0.0.
Maybe relating to this issues #1899
Beta Was this translation helpful? Give feedback.
All reactions