You're in control of the situation. This is how I handle state management.
During setup, I make a list of all my refs or reactive objects. If necessary, I'll use computed properties to perform crosschecks on my refs or state, such as checking for records and their quantity.
I create small functions to manage state changes within a local component. If I need to watch for state changes (ref or reactive object), I'll set up a watcher that calls a method or action. Remember, when updating ref inner values, you must access the .value property of the ref object, which points to its inner value. While a ref is a wrapper, with a reactive object, you can directly set values like you would with regular Vue2 data.
In your case, you can modify your myRef array by accessing its value property. It's advisable to define a method that handles the specific task, such as adding elements to the array. Additionally, use a computed property to determine if the conditions are met for enabling or disabling a click event.