I would like to use vue's computed to detect changes in multiple data and execute the function automatically. But I just want to use computed as a function, I don't want any new values.
On the other hand, computed is not executed automatically unless it is used. So I decided to return null and use {{}} in the template tag to call that computed. Is this the right way to do it? I don't want to use watch as much as possible.

Also, can I write the process I want to execute after being rendered every time in my "afterRendering" function,which without returning anything, and force it to be called with {{afterRendering}}?

```vue
<template>
...
{{afterRendering()}} <!--this will be executed everytime after rendering.-->
{{MyComputed}} <!--this will be executed when any bindings that depend on changes.-->

</template>
...
export default {
  methods: {
    afterRendering: function () {
      //...
    },
  },
  computed: {
    MyComputed: function () {
      if (!!Achanged || !!Bchenged) {
        //now I can watch if A and B have changed.
        return null
      }
    },
  },
}

```