Skip to content

Releases: preactjs/prefresh

ESM exports

14 May 11:15
Compare
Choose a tag to compare
@prefresh/[email protected]

@prefresh/utils  0.1.1

Peer-correction

14 May 11:13
12ffed0
Compare
Choose a tag to compare

Corrected invalid peerdependency

Custom hooks support!

13 May 13:41
Compare
Choose a tag to compare
@prefresh/[email protected]

@prefresh/core 0.6.0

Initial release of @prefresh/utils

13 May 13:37
343d225
Compare
Choose a tag to compare

Custom hooks!

13 May 13:39
Compare
Choose a tag to compare
  • Added computeKey and register to the window payload
    • computeKey will calculate a hash for functional components and custom hooks this will allow you to derive the need for resetting state or not.
    • register is a noop that might be used later
  • Added a third parameter to replaceComponent allowing the user to specify whether or not the stat has to be reset.