SWR v0.2.3 Release Notes
Release Date: 2020-06-12 // almost 4 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!