10.5.6
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)