github vercel/swr 1.0.0-beta.10

latest releases: v2.2.6-beta.4, v2.2.6-beta.3, v2.2.6-beta.2...
pre-release3 years ago

Major Changes

  • BREAKING: Deprecate revalidate with mutate: #1332

Minor Changes

  • Improvement: ensure useSWRInfinite reuses useSWR cache: #1341

Patches

  • Code refactoring: #1307
  • Add package.json to module exports: #1313
  • Fix config being ignored when fetcher is null: #1311
  • Reset cache between tests: #1309
  • Refine the infinite hook: #1315
  • Test: add a test for getInfiniteKey with current data: #1319
  • Update bunchee 1.6.2: #1323
  • Chore: update useSWRInfinite import: #1326
  • Upgrade bunchee, reduce node_modules size: #1329
  • Build(deps): bump path-parse from 1.0.6 to 1.0.7: #1334

Credits

Huge thanks to @huozhi, @heysailor, @koba04, and @eric-hc for helping!

Don't miss a new swr release

NewReleases is sending notifications on new releases.