dynamic props: we still to prevent recreation when update comes from self value change
This commit is contained in:
parent
a5f651bb53
commit
83c9cc21cb
1 changed files with 1 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ class Widget extends EventEmitter {
|
|||
|
||||
}
|
||||
}
|
||||
if (reCreate && this.childrenHashes.indexOf(widget.hash) == -1) {
|
||||
if (reCreate && this.childrenHashes.indexOf(widget.hash) == -1 && !(widget === this && updatedProps.length === 1 && updatedProps[0] === 'value')) {
|
||||
|
||||
this.reCreateWidget()
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue