angular signal mutate update

agnusdei·2023년 9월 27일
  this.notices.mutate((notices) => {
      const index = notices.findIndex((notice) => notice.id === updated.id);
      notices[index].isPinned = updated.isPinned;
      return notices;
    });
profile
DevSecOps, Pentest, Cloud(OpenStack), Develop, Data Engineering, AI-Agent

0개의 댓글