title: Can a shared component use its own private @ngrx/store?
body: <p>I am developing an Angular shared component (in its own repo, using ng-packagr and angular 5, to be published as an npm package) and I would like to use @ngrx/store because the component is complex enough to justify this. I would like the store to be internal to the component. In particular, this would mean that:</p>
  
  <ul>
  <li>integrating apps would not need to know about @ngrx to use my component</li>
  <li>integrating apps could use a separate @ngrx store from my component.</li>
  </ul>
  
  <p>What kind of dependency relationships (in my component's <code>package.json</code>, such as peerDependencies or dependencies) and initialization code (in my component's main module <code>my-component.module.ts</code>) would my component need to accomplish this?</p>
  
  <p>What kind of dependency relationships (in the integrating application's <code>package.json</code>) and initialization code (in the integrating application's main module <code>app.module.ts</code>) would the integrating application need to bring in, initialize, and use the component <em>once it is published</em>?</p>