import Component from '@glimmer/component'; import { action, computed, set } from '@ember/object'; export default class extends Component { prop1 = 0; @computed('prop1') get cp() { return this.prop1 * 1000; } @action update() { const newVal = this.prop1 + 1; console.log(newVal) set(this, 'prop1', newVal) } }