I'm trying to figure out how will i able to search in NGXS from different component. I have my searchbar from the navbar component while i'm displaying my data from app component which is a different component. Please see this stackblitz link CLICK HERE
CODE
this.peopleForm.get('name').valueChanges.pipe(debounceTime(500)).subscribe(
(name: string) => {
console.log(name);
this.people$ = this.store.select(AppState.nameFilter(name));
}
)