Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: call requestUpdating when updating property used in web components
Browse files Browse the repository at this point in the history
  • Loading branch information
Raspincel committed Mar 6, 2024
1 parent b4ecd39 commit df79b40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/utils/use-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ function subscribeTo<T>(
});

this.unsubscribeFrom.push(subject.unsubscribe);

if (this.requestUpdate) this.requestUpdate();
}

/**
Expand Down

0 comments on commit df79b40

Please sign in to comment.