How to use 'didUpdateAttrs' in glimmer component?

Hi, I’m new to ember. I just want to know is there a way to detect if attributes change in a glimmer component.

In general it’s discouraged as it usually means you have a data flow problem that probably could and should be solved with a different data flow but if you really need to you can use the {{did-update ...}} modifier or {{did-update ...}} helper from ember-render-modifiers or ember-render-helpers, respectively.

2 Likes