ngrx parameter to select function
问题 Is there a way to pass parameters to ngrx select functions? Following is my use case: I am maintaining list of comments in store. I wrote one component to represent one comment. So, one CommentComponent knows the id of the component object Each comment will have properties like likedBy, reportedBy, ...etc In UI, I am showing all the components using *ngFor Now I want my CommentComponent to subscribe only to one comment object by using id of the component. Right now I am subscribing to all the