title: Dagger 2, Two dependent components cannot share the same scope
body: <p>As a question mention, I know that Dagger 2 from the following link</p>
  <p><a href="https://guides.codepath.com/android/dependency-injection-with-dagger-2#scopes" rel="nofollow noreferrer">https://guides.codepath.com/android/dependency-injection-with-dagger-2#scopes</a></p>
  <blockquote>
  <p>Two dependent components cannot share the same scope</p>
  </blockquote>
  <p>However, the reason mention in the following link is not clear to me.</p>
  <p><a href="https://github.com/google/dagger/issues/107#issuecomment-71073298" rel="nofollow noreferrer">https://github.com/google/dagger/issues/107#issuecomment-71073298</a></p>
  <p><strong>JackWharton said that...</strong></p>
  <blockquote>
  <p>Two components with the same scope can break scoping.</p>
  <p>From your example:</p>
  <p>Component1 c1 = Dagger_Component1.create();</p>
  <p>Component2 c2_a = Dagger_Component2.builder().component1(c1).build();</p>
  <p>Component2 c2_b = Dagger_Component2.builder().component1(c1).build();</p>
  <p>c1 has singletons which are used across c2_a and c2_b but the singletons from Component2 get separate instances in c2_a and c2_b</p>
  </blockquote>
  <h2>How it breaks??##</h2>
  <p>c2_a will modify the scope of c1 or what it does to break?</p>
  <p>thank you guys.</p>