Skip to content

Commit

Permalink
@prefresh/core 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed May 13, 2020
1 parent a4ebb7d commit 7b7316c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## 0.6.0

- 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.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prefresh/core",
"version": "0.5.0",
"version": "0.6.0",
"main": "src/index.js",
"scripts": {
"lint": "eslint src"
Expand Down

0 comments on commit 7b7316c

Please sign in to comment.