on render when explorer.baseUrl is empty or blank, as getExplorerLink does.
Example
constexplorerLink = useExplorerLink({ baseUrl:'https://scan.example' }) <Identifiervalue={partyId} href={explorerLink(partyId)} /> <Identifiervalue={cid} href={explorerLink(cid, 'contract')} /> // no href at all where the value matched no shape and no entity said otherwise
Holds an explorer config so call sites pass only an identifier, and returns getExplorerLink bound to it.