Skip to content

Computed Signal Results Not Re-computing? #135

Answered by NetanelBasal
DakotaP22 asked this question in Q&A
Discussion options

You must be logged in to vote

You are mutating the data. You need to do:

  archive(): Observable<null> {
    this.data = {
      ...this.data,
      archived: true
    }
    return of(null);
  }

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@luii
Comment options

@luii
Comment options

@DakotaP22
Comment options

@luii
Comment options

@luii
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@DakotaP22
Comment options

Answer selected by DakotaP22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants