Skip to content

useAudienceRevision

useAudienceRevision(client): number

The revision of a client’s audiences, for hooks that must re-read content when the visitor’s audiences change. It is 0 for a client without an audience option and never changes. Used by the hooks in this package; you rarely need it yourself, because <Experience>, useExperience, useResolvedComponent and useNavigation already re-read on a change.

ContentClient | undefined

number