preact v10.4.7 Release Notes
Release Date: 2020-08-05 // over 3 years ago-
_ tl;dr: This is a bug-fix only release and safe to upgrade ๐_
๐ This release contains some amazing fixes by first time contributors! Thank you so much for everyone who filed issues or contributed PRs โค๏ธ
๐ Bug Fixes
- Avoid touching DOM-attributes during hydration (#2679, thanks @JoviDeCroock)
- ๐ Fix incorrect
download
attribute handling (#2674, thanks @marvinhagemeister) - ๐ Allow the same component to be suspended multiple times (#2661, thanks @tanhauhau)
- ๐ Allow resolve promise after suspense unmounted (#2664, thanks @tanhauhau)
- Throw when hook is used inside effect (#2672, thanks @marvinhagemeister)
- ๐ Fix incorrect text node handling in
diffElementNodes
(#2658, thanks @perseveringman) - 0๏ธโฃ Default
useRef
tonull
(#2648, thanks @JoviDeCroock) - ๐ Fix calling
setState
inconstructor
(#2640, thanks @sventschui)
Types
- ๐ Change argument of
useRef
to optional (#2651, thanks @38elements) - โก๏ธ Updated
capture
definition. (#2643, thanks @JonathanBristow) - โก๏ธ Update
preact/compat
types (#2628, thanks @jeremy-coleman)
๐ง Maintenance
- ๐ง Run benches on linux VMs (#2595, thanks @andrewiggins)
- ๐ Fix
package.json
"authors" field (#2635, thanks @developit)