watchEffect
A shorter watcher that runs its function at once, tracks every ref it reads, and runs again whenever any of them changes. It keeps the tab title up to date.
A shorter watcher that runs its function at once, tracks every ref it reads, and runs again whenever any of them changes. It keeps the tab title up to date.