-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: possible to generate a function using
useSWRInfinite
on the `…
…swr` client. (#1138) * feat: add `swr/infinite` dependesies * chore: refactor string construction process * feat: add `useInfinite` property into `SwrOptions` type * feat: define `swrKeyLoader` function generator * chore: refactoring to store the function that defines `useSrw` in a variable * feat: add useInfinite function string generator implementation * chore: refactoring to separate enable and key implementation * fix: enerated implementation mess * fix: change presence/absence of definition with `override.swr.useinfinite` * docs: add document for `orverride.swr.useInfinite`
- Loading branch information
1 parent
f67681f
commit 67bf84f
Showing
3 changed files
with
156 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters