How should we handle building reusable components in an application that uses a dependency injection library?
- Use the injection library as the only binding to instances of models, services and other dependencies in the application, only other properties will be given as additional
propTypes:<Profile injector={injector} picSize="small" /> - Use injection library to set individual props on the component that will transfer properties down the component tree, explicity stating the required data for the components:
class Profile extends Component {