Attribute Change with didUpdateAttrs
The didUpdateAttrs hook can be used when a component's attributes have changed and called before re-rendering the component. Syntax import Ember from 'ember'; export default Ember.Component.extend ({ ... didUpdateAttrs() { //code here…