You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Features
Warn on deeply nested illegal HTML structures in preact/debug, following the HTML parser's namespaces for SVG and MathML content (#5358, #5426, thanks @rschristian and @JoviDeCroock)
Fixes
Apply style values that change between 0 and an empty string (#5365, thanks @0z5a)
Keep the useId counter across repeated render() calls on the same container (#5370, thanks @JoviDeCroock)
Give each Suspense boundary its own useId counter so out-of-order resolution doesn't produce mismatching ids (#5402, #5423, thanks @JoviDeCroock)
Skip suspended components that were unmounted before their Suspense boundary resolved (#5375, thanks @JoviDeCroock)
Prevent leaking old vnodes through circular references (#5406, thanks @JoviDeCroock)
Run cleanups of unmounted components before a queued rerender (#5416, thanks @JoviDeCroock)
Keep the DOM cursor valid when a reordered child unmounts the node it points at (#5422, #5424, thanks @JoviDeCroock)
Types
Declare isElement in compat and narrow isValidElement to an element (#5363, #5425, thanks @ragib-mrb)
Add capture variants of toggle, dialog and command event handlers (#5387, thanks @playlikeboy)
Add missing DOM event handlers and attributes, and fix several compat and hooks types (use(), useDeferredValue(), useImperativeHandle(), findDOMNode(), Children.map/forEach, exported event types) (#5391, thanks @officialasishkumar and @ragib-mrb)
Accept a signal of several input types on <input type> (#5417, thanks @JoviDeCroock)
Add missing React types used by libraries to compat (#5418, thanks @JoviDeCroock)