Features
- Use microtick outside of events (#3879, thanks @JoviDeCroock)
- Re-sort rerender queue if modified while we are processing rerenders (#3871, thanks @andrewiggins)
- Preserve event handler return values (#3812, thanks @developit)
Bug Fixes
- Fix: avoid bailing in strict equality (#3884, thanks @JoviDeCroock)
- When unmounting, continue with the last DOM element's nextSibling (#3878, thanks @andrewiggins)
- Fix parameters or JSX dev runtime (#3880, thanks @wooorm)
- Improve Fragment unmounting while correctly swapping nested fragments (#3875, thanks @andrewiggins)
- Clear css properties when passed undefined (#3862, thanks @andrewiggins)
- Debug: limit "object as children" error to elements (#3801, thanks @developit)
- Invoke setState callbacks setup in componentWillMount (#3806, thanks @andrewiggins)
Typings
- add exactOptionalPropertyTypes support to html attributes (#3868, thanks @deadem)
- Changes
EventHandler<...>
to have athis
of typevoid
. (#3867, thanks @MicahZoltu) - Narrows type of
parent
in render functions. (#3863, thanks @MicahZoltu)
Maintenance
- Improve suspense test spies (#3856, thanks @andrewiggins)
- docs: Fix a few typos (#3844, thanks @timgates42)
- docs: Removes recommendation for
preact-cli
(#3816, thanks @rschristian)