For example, don't mutate other state, make async requests, or mutate the DOM inside a computed getter! Think of a computed property as declaratively describing how to derive a value based on other values - its only responsibility should be computing and returning that value. It is important to remember that computed getter functions should only perform pure computation and be free of side effects.
Best Practices Getters should be side-effect free Now when you run fullName.value = 'John Doe', the setter will be invoked and firstName and lastName will be updated accordingly.