So i am learning about refs (in react native). On react site here, it says that;
For example, instead of exposing open() and close() methods on a Dialog component, pass an isOpen prop to it.
Thus, not recommending using refs too much.
Please explain why?
What is the down point of using refs and why reactjs.org says so.