Skip to content

Releases: preactjs/preact

10.14.0

14 May 10:27
9966b27
Compare
Choose a tag to compare

Features

Fixes

Types

Maintenance

10.13.2

27 Mar 08:32
87e5083
Compare
Choose a tag to compare

Performance

Maintenance

10.13.1

09 Mar 14:37
958311a
Compare
Choose a tag to compare

Bug Fixes

Performance

  • Improve render queue sorting performance by hoisting out function (#3921, thanks @developit)
  • Improve compat performance by hoisting out regexes (#3903, thanks @JoviDeCroock)

Maintenance

10.13.0

24 Feb 13:07
de08e91
Compare
Choose a tag to compare

Features

Bug Fixes

Types

10.12.1

09 Feb 18:31
dec4d42
Compare
Choose a tag to compare

Bug Fixes

  • Fix non-numeric numbers passed to width or height attribute not working correctly (#3888, thanks @JoviDeCroock)
  • Fix createContext update being blocked by shouldComponentUpdate (#3889, thanks @marvinhagemeister)

10.12.0

06 Feb 21:32
233eaef
Compare
Choose a tag to compare

Features

Bug Fixes

Typings

  • add exactOptionalPropertyTypes support to html attributes (#3868, thanks @deadem)
  • Changes EventHandler<...> to have a this of type void. (#3867, thanks @MicahZoltu)
  • Narrows type of parent in render functions. (#3863, thanks @MicahZoltu)

Maintenance

10.11.3

14 Nov 08:12
4a37c99
Compare
Choose a tag to compare

Bug Fixes

Maintenance

10.11.2

15 Oct 09:06
9d4b2dc
Compare
Choose a tag to compare

Bug Fixes

Types

10.11.1

04 Oct 19:47
b25fd03
Compare
Choose a tag to compare

Bug Fixes

10.11.0

12 Sep 08:36
77b79c0
Compare
Choose a tag to compare

10.11.0

New Hook: useId

Today we are announcing a new hook: useId. This hook creates stable unique identifiers that are consistent between server-side rendering (using preact-render-to-string) and client-side hydration. The useId() hook is primarily useful for generating identifiers for attributes like aria-labelledby and <label for="...">.

To enable useId() to generate consistent unique identifiers, please ensure you are using preact-render-to-string version 5.2.4 or newer for server-side rendering.

(#3583, thanks @JoviDeCroock)

Fixes

Maintenance