How to use withLatestFrom with a selector in ngrx?
问题 I have ngrx application, and I can't get the value from a selector in the effect, by the payload I sent in the component. I write an example code of what I deal with: This is my state, a simple docs array in it. export const initialState = { docs: [{ id: 1, name: "doc1" }, { id: 2, name: "doc2" }] }; export const reducer = createReducer( initialState, ); I dont handle any action for this questions, this is not the issue. In my component I get the array using a selector: docs$ = this.store