Dependency injection for ReactJS components.