Skip to content

Dagger ‐ Sub‐components and its significance

Devrath edited this page Oct 8, 2023 · 1 revision
  • Normally when a component is dependent on another component and there is a dependency since some objects can be shared using this functionality
  • But the component(parent) added as the dependency, The parent explicitly has to mention the objects it is sharing so as to observe the application component.
  • So using the sub-components there can be a way to share all objects of a component to another without explicitly mentioning it.
  • So sub-component can use all the objects that parent component provides without explicitly mentioning it.
Clone this wiki locally