preact v10.5.6 Release Notes
Release Date: 2020-11-12 // about 4 years ago-
๐ Bug Fixes
- Throw when hook is invoked outside of render (#2816, thanks @marvinhagemeister)
- ๐ Make
jsx-runtime
work when using an alias (#2805, thanks @JoviDeCroock) - ๐ Allow rendering from an effect (#2804, thanks @JoviDeCroock)
Types
- โ Add
animateTransform
tag type (#2822, thanks @HuHguZ) - โ Add
displayName
to context (#2820, thanks @max-voronov) - ๐ Improve
style
attribute types (#1797, thanks @mnkhouri) - ๐ General JSX types export for
jsx-runtime
, fixes TS4.1 compatibility (#2811, thanks @ddprrt) - ๐ Make
ref
types' current property non-optional (#2803, thanks @ivantm)
๐ง Maintenance
- โ Remove circular
vnode
reference and golf implementation (#2517, thanks @JoviDeCroock) - โ Add hydration suspend tests (#2755, thanks @andrewiggins)
- ๐ Fix prototype spies not being reset in tests (#2823, thanks @marvinhagemeister)