yarn swr 0.2.3

latest releases: 2.2.6-beta.1, 2.2.6-beta.0, 2.2.5...
3 years ago

Patches

  • Docs: update notes for returned data from mutate section: #394
  • Change mutateCallback type to allow non-promise return value: #406
  • Fix No bound mutate returned by useRequest hook.: #410
  • Fix mutate not disposing older async mutations: #427
  • Create CODE_OF_CONDUCT.md: #432
  • Unmount check: #433
  • Fix spread syntax with defineProperties: #436
  • Remove unused file: #441
  • Build: use es5 syntax for esm build (#444): #443
  • Replace ZEIT with Vercel in examples: #442
  • Update docs to explain dependent fetching with falsy: #449
  • Use initialData in suspense mode if provided: #448
  • Docs: setup issue template: #453
  • Make trigger return a promise resolved to the new cache value: #391

Credits

Huge thanks to @huozhi, @ties-v, @shyamlohar, @TheHolyWaffle, @promer94, @alexandregv, @joshkel, @Narigo, and @sergiodxa for helping!

Don't miss a new swr release

NewReleases is sending notifications on new releases.