Hey I am testing several frameworks for hybrid mobile development. All in all I like React Native a bit more than Angular, but I like the mechanism of Injector and Provider very much. To have a single instance of a class could be very usefull, but at the moment I don't know how to realize that with React Native. I thought about to use the AsyncStorage, but I am not happy with that. The key question: Is there a way to use the same instance in several components in React Native?
I thought about Singleton, but don't know how to realize that.