🙌 We've added support for the new getDerivedStateFromProps() and getSnapshotBeforeUpdate() lifecycle hooks. (#1094 & #1112). A huge thank-you to @andrewiggins and @marvinhagemeister for their amazing work on this!
We've dropped IE9 and IE10 from our SauceLabs tests (thanks @mkxml!)
> Note: Preact will continue to support these browsers (that is to say, continue to avoid relying on features they don't support), but recent updates to Mocha mean our tests don't run there. Special thanks to @mkxml, @andrewiggins, @k1r0s and @marvinhagemeister for working to improve the test suite in this release!
TypeScript Improvements!
Add support for specifying the types of a component's children (#1116, thanks @Alexendoo)
Add on*Capture event handler attributes and PointerEvents to the TS definitions (#1101#1102, thanks @jakearchibald)
This Pull Request updates dependency preact from
v8.2.9
tov8.3.0
Release Notes
v8.3.0
Compare Source
New Features!
🙌 We've added support for the new
getDerivedStateFromProps()
andgetSnapshotBeforeUpdate()
lifecycle hooks. (#1094 & #1112). A huge thank-you to @andrewiggins and @marvinhagemeister for their amazing work on this!Improvements
.mjs
now! (#1165, thanks @mathiasbynens for the nudge)setState()
could mutate state in-place (#1170, thanks @Mitranim for the fix and @dandv for digging into the Apollo issue!)spellcheck={false}
is now set as an attribute (#1110, thanks @marvinhagemeister!)> Note: Preact will continue to support these browsers (that is to say, continue to avoid relying on features they don't support), but recent updates to Mocha mean our tests don't run there. Special thanks to @mkxml, @andrewiggins, @k1r0s and @marvinhagemeister for working to improve the test suite in this release!
TypeScript Improvements!
on*Capture
event handler attributes and PointerEvents to the TS definitions (#1101 #1102, thanks @jakearchibald)controlsList
attribute for media elements (#1134, thanks @wayou)This PR has been generated by Renovate Bot.