directive update hook is different in 2.x and 3.x
Version
3.2.20
Reproduction link
2.x https://codesandbox.io/s/wonderful-water-unbnt 3.x https://codesandbox.io/s/ecstatic-browser-ibyk2
Steps to reproduce
- add a directive
- bind directive to
HelloWorld
component - add a timer in
HelloWorld
2.x
3.x
What is expected?
I don't know
What is actually happening?
In 2.x, when HellowWorld
updated, the directive's update
hook was not be called, but called in 3.x
Is this a bug or a feature