1.1.0
#1682
Replies: 1 comment
-
incredible work—thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Highlights for This Release
1. Built-in & stable serialization for SWR keys
For array keys too, it's safe to do the following:
2.
revalidateFirstPage
foruseSWRInfinite
This is a new added option for
useSWRInfinite
(defaults totrue
), you can use it to control if the first page should be revalidated when changing the size or doing a mutation.3. Better TypeScript support
What's Changed
axios
with fetch interceptor by @danestves in feat: using latest version ofaxios
with fetch interceptor #1548type: "module"
and use.mjs
extension by @shuding in chore: Addtype: "module"
and use.mjs
extension #1604type: "module"
and use.mjs
extension #1604)" by @huozhi in Revert "chore: Add type: "module" and use .mjs extension (#1604)" #1618getKey
inuseSWRInfinite
by @shuding in chore: Add test case forgetKey
inuseSWRInfinite
#1681New Contributors
useSWRConfig
is exported as() => any
type #1409axios
with fetch interceptor #1548Full Changelog: 1.0.1...1.1.0
This discussion was created from the release 1.1.0.
Beta Was this translation helpful? Give feedback.
All reactions