Understanding When to Use Refs vs Variables in Effect Typescript - Effect Community