I have an application with several levels of children. In this example I have declared a Context.js and a ContextDBConnector.js , they are being used in this way:
Context