A React Hook that provides all registered contributions for the given
contribution point identifier contribPointId and optional contribution key
contribKey. The latter is used for contributions that are objects and
where each object property provides a subset of contributions.
In this case, contributions are collected for the same contribPointId
and same contribKey.
Usually you won’t use useContributions directly in your components.
Instead, you provide your own custom Hook for your contribution point
identified by contribPointId.
See also the core.getContributions function,
which is the non-reactive equivalent of this Hook.
A React Hook that provides all registered contributions for the given contribution point identifier
contribPointIdand optional contribution keycontribKey. The latter is used for contributions that are objects and where each object property provides a subset of contributions. In this case, contributions are collected for the samecontribPointIdand samecontribKey.Usually you won’t use
useContributionsdirectly in your components. Instead, you provide your own custom Hook for your contribution point identified bycontribPointId.See also the core.getContributions function, which is the non-reactive equivalent of this Hook.