Can you store refs in an object in React?
In a component we need 9 different refs (don't ask
). If we put the refs in an object like this will they be referentially stable? I fear on every render the object will be reevluated, but using an object just makes it a bit cleaner.