Skip to content

useAudienceChange

useAudienceChange(): AudienceChangeState

Re-renders the calling component whenever the visitor’s audiences change, for UI of your own that depends on membership but is not content (a members’ menu item, a badge). The content you render through this package already re-renders by itself, so most sites never need this.

AudienceChangeState