Releases: preactjs/prefresh
Releases · preactjs/prefresh
ESM exports
@prefresh/[email protected] @prefresh/utils 0.1.1
Peer-correction
Corrected invalid peerdependency
Custom hooks support!
@prefresh/[email protected] @prefresh/core 0.6.0
Initial release of @prefresh/utils
@prefresh/[email protected] cleanup (#26)
Custom hooks!
- Added
computeKey
andregister
to the window payloadcomputeKey
will calculate a hash forfunctional components
andcustom 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.