Subscribe on changes!

directive update hook is different in 2.x and 3.x

avatar
Oct 9th 2021

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 image

3.x image

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