Skip to content

Unexpected behaviour compared to akita store/query #441

Discussion options

You must be logged in to vote

hacked-worked:

ngOnInit() {
    this.componentStateService.calendarMonth$.pipe(untilDestroyed(this)).subscribe((cm) => {
      // bizarre issue where component no longer cycles once cm is undefined, hence no async pipe
      if(cm) this.calendarMonth = cm;
    });
  }

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by alastair-todd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants