swr icon indicating copy to clipboard operation
swr copied to clipboard

React Hooks for Data Fetching

Results 275 swr issues
Sort by recently updated
recently updated
newest added

This PR adds a new parallelLimit option to useSWRInfinite. When used with the parallel option, it limits the number of concurrent fetches to the specified value, instead of fetching all...

# Bug report ## Description / Observed Behavior What kind of issues did you encounter with SWR? ## Expected Behavior How did you expect SWR to behave here? ## Repro...

# Bug report ## Description / Observed Behavior Query revalidation on focusing the page/tab doesn't work in Chrome. This still works as expected in Safari. It appears to be related...

# Bug report ## Description / Observed Behavior onSuccess option is not called after upgrading from Expo 51 to 52 ``` react: 18.3.1 expo: 52.0.4 ``` ## Expected Behavior onSuccess...

# Bug report ## Description / Observed Behavior The same code that worked with Expo 52 is not working with Expo 53 ## Repro Steps / Code Example ``` void...

Add configuration option `revalidateOnRSCFallback` (default: `false`) to eliminate redundant network request since data is already fresh when using SWR with RSC. ## Changes - Added configuration option `revalidateOnRSCFallback` to `PublicConfiguration`...

Updated to check both visibility and focus for improving UX in tabbed and multi-app scenarios. ## Related Issues Fixes #3039

# Bug report ## Description / Observed Behavior I've encountered an issue with useSWR's `refreshWhenHidden` prop. Due to a known behavior across browser vendors, `document.visibilityState` does not update to `hidden`...

bug

# Bug report ## Description / Observed Behavior In the project I created via create-react-app, when I run the build script, I get the following error ``` Failed to compile....

reproduction needed