I remember it is somehow possible to access to the application instance within any of the react native components. How to actually do that?
Asking this because sometimes it seems to be more convenient than storing some objects in custom global storage or in the AsyncStorage, for example.
The hypothetical example of what I am asking:
class SomeComponent extends Component { constructor(props) { super(props); this.Application.some_object_saved_as_an_attribute_of_the_application.doStuff(); }}