title: ngrx parameter to select function
body: <p>Is there a way to pass parameters to ngrx select functions?</p>
  
  <p>Following is my use case:</p>
  
  <p>I am maintaining list of comments in store. </p>
  
  <p>I wrote one component to represent one comment. So, one CommentComponent knows the id of the component object</p>
  
  <p>Each comment will have properties like likedBy, reportedBy, ...etc
  In UI, I am showing all the components using *ngFor</p>
  
  <p>Now I want my CommentComponent to subscribe only to one comment object by using id of the component.</p>
  
  <p>Right now I am subscribing to all the comments in a top level component, and passing each comment to the CommentCompoent as an input. </p>
  
  <p>Current approach is not clean because angular change detection strategy (even if I use onPush) has to render DOM for all the comments even though only one comment changes.</p>
  
  <p>Appreciate any suggestions where I can pass comment id to a selector function so that each CommentComponent can subscribe to only one comment.</p>
  
  <p>Thanks in advance,
  Sudhakar</p>