Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 718656f

Browse files
committed
Update to vdom for onupdate hook.
1. Previous the onupdate hook always fired whether the props changed or not. Introduced a check to only fire onupdate when an element's props have changed.
1 parent a8df4f5 commit 718656f

11 files changed

+54
-20
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# composi/core Changelog
22

3+
## 2.5.8 (October, 29, 2019)
4+
5+
### src/vdom.js
6+
7+
* Added function `areNotEqual` which is used to check if the old props and new props of a VNode are identical. If they are not identical then `onupdate` executes, otherwise not.
8+
39
## 2.5.7 (October 27, 2019)
410

511
### tsconfig.json, package.json

dist/composi-core.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/composi-core.js.gz

27 Bytes
Binary file not shown.

dist/composi-core.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)