You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With ember <= 3.21, the {{did-update modifier would fire, when a value would be changed on {{did-insert. Starting with ember 3.22 this no longer seems to be the case (tested up to 3.25)
🔬 Minimal Reproduction
A simple component to reproduce this issue:
<div {{did-insert this.onInsert}}
{{did-update this.onChange this.testValue}}>
If you do not see an alert, this test failed....
</div>
Had some help in discord and we figured that it would be better to move what I had in did-insert into the constructor of the component. It was somewhat considered expected behaviour when a value that is updated in did-insert did not fire did-update. I'll leave this issue open, so it can be decided if the change from ember 3.21 to 3.22 is considered a regression.
🐞 Describe the Bug
With ember <= 3.21, the
{{did-update
modifier would fire, when a value would be changed on{{did-insert
. Starting with ember 3.22 this no longer seems to be the case (tested up to 3.25)🔬 Minimal Reproduction
A simple component to reproduce this issue:
Repro:
https://github.com/st-h/ember-did-update
Change ember-source in
package.json
to3.22.0
in order to make it fail.😕 Actual Behavior
{{did-update
does no longer fire when the value is changed from within{{did-insert
.🤔 Expected Behaviour
{{did-update
triggers whenever the value changes.🌍 Environment
➕ Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: