Skip to content

Releases: preactjs/preact

10.23.2

12 Aug 17:20
2c6df95
Compare
Choose a tag to compare

Fixes

Types

Maintenance

10.23.1

25 Jul 06:20
9351588
Compare
Choose a tag to compare

Fixes

  • Fix debug-issue in testing libraries where there might not be a DOM node (#4454, thanks @JoviDeCroock)

10.23.0

23 Jul 19:05
2f1712a
Compare
Choose a tag to compare

Features

This adds support for returning a function in functional refs, example

<input
  ref={(ref) => {
    // Assign ref, do something with it
    return () => {
      // ref cleanup, when the element unmounts
      // we run the cleanup
    };
  }}
/>

Fixes

Types

Maintenance

10.22.1

01 Jul 05:39
7eef3e0
Compare
Choose a tag to compare

Fixes

Types

Maintenance

Performance

10.22.0

15 May 09:14
494f084
Compare
Choose a tag to compare

Features

Types

Maintenance

Fixes

10.21.0

30 Apr 06:52
a832512
Compare
Choose a tag to compare

Features

Fixes

Types

Maintenance

10.20.2

09 Apr 11:16
8c88f52
Compare
Choose a tag to compare

Fixes

  • Check whether oldDom is present in the DOM (#4318, thanks @JoviDeCroock)
  • Simplify the logic introduced in #4322 & use eventClock for capture events too (#4324, thanks @jviide)
  • Use a virtual clock instead of Date.now() for event dispatch times (#4322, thanks @jviide)

Types

Maintenance

10.20.1

23 Mar 06:49
bc7c551
Compare
Choose a tag to compare

Fixes

10.20.0

20 Mar 06:48
b820d8b
Compare
Choose a tag to compare

Features

  • Add isMemo to compact to allow compatibility with react-is dependant libraries (#4302, thanks @ziongh)

Fixes

10.19.7

18 Mar 15:43
e174713
Compare
Choose a tag to compare

Types

Fixes

  • Revert batch commit callbacks from all components in the render queue (#4297, thanks @JoviDeCroock)