Using Ref as State in a Loop with SubscriptionRef for Reactivity - Effect Community