Using `Ref` for State Management in Effect - Effect Community