Skip to content

Releases: preactjs/preact

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

10.10.6

19 Aug 17:17
9457b22
Compare
Choose a tag to compare

types

10.10.5

19 Aug 08:56
2b1930c
Compare
Choose a tag to compare

fixes

10.10.4

18 Aug 21:06
b7072ad
Compare
Choose a tag to compare

Fixes

10.10.3

16 Aug 08:42
a4c3e7b
Compare
Choose a tag to compare

Fixes

10.10.2

10 Aug 08:54
6b92b1f
Compare
Choose a tag to compare

Fixes