Skip to content

Releases: preactjs/preact

10.10.1

05 Aug 12:05
191d5cb
Compare
Choose a tag to compare

Bug Fixes

  • Fix infinite loop in radix-ui which enqueues multiple state updates in the same tick (#3645, thanks @JoviDeCroock )
  • Fix effects run for suspended components in rare instances (#3643, thanks @JoviDeCroock )
  • Fix useSyncExternalStore not working with function values (#3633, thanks @marvinhagemeister )
  • Defer bailing out of updates to the render phase to align with React (#3621 + #3623, thanks @JoviDeCroock )
  • Fix some SVG attributes applied with wrong casing (#3615, thanks @iminside)

Maintenance

10.10.0

13 Jul 10:28
dbe0fa8
Compare
Choose a tag to compare

Feature


We changed our debounce of our rendering to setTimeout!
Why? We've batched using microtasks for the past few major versions because it benchmarked well. This had a side-effect of flushing batched renders between event handlers, which can cause some strange behavior:

<input
      type="checkbox"
      onChange={onChange}
      checked={true}
      onClick={onClick}
/>


An additional benefit of this change is that code causing an infinite rendering loop will no longer result in an unresponsive browser tab. Rendering in a loop is now capped to the browser's maximum timer frequency (~250Hz), which makes it possible to pause and debug the code triggering an accidental loop.

10.9.0

06 Jul 08:33
80600ea
Compare
Choose a tag to compare

Feature

We are adding support for the newly added React 18 hooks (apart from useId) (#3568, thanks @JoviDeCroock)

FIxes

10.8.2

22 Jun 13:52
a0f7742
Compare
Choose a tag to compare

Enhancements

Fixes

Improvements

10.8.1

16 Jun 18:04
6a64ece
Compare
Choose a tag to compare

10.8.0

14 Jun 14:24
c77e628
Compare
Choose a tag to compare

Features

Maintenance

10.7.3

01 Jun 07:22
8fb48b8
Compare
Choose a tag to compare

Improvements

10.7.2

06 May 19:01
e4e4923
Compare
Choose a tag to compare

Improvements

Fixes

Maintenance

10.7.1

05 Apr 08:54
8f01f5f
Compare
Choose a tag to compare

Features

Fixes

10.7.0

29 Mar 19:12
Compare
Choose a tag to compare

Features

Bug Fixes

Typings

  • Add missing defaultValue and defaultChecked typings (#3464, thanks @ilogico)

Maintenance