React native – Setting a component's state using a function that can be called from everywhere
I have a global component called <MyGlobalComponent/> that resides in <App/>. What I am trying to achieve is that I want to build a global function showGlobalComponent() that can be called from any other component, one which sets its visibility…