By default an error message is shown if fetching contribution data fails. Two properties have been added in this release to give you more control over error handling:
errorMessage?: string
throwOnError?: boolean
,false
per default
With errorMessage
the default error message can be overwritten. If throwOnError
is set to true
the component will throw an error instead of rendering the error message so that React error boundaries can be used.
Thanks @marcelscruz for the suggestion!