useOptionalMessages
As useMessages, but without a ServicesProvider above it the
SDK's English catalogue, so a piece a consumer may render on its own (the
skip link, a status message) keeps working. Inside a provider it is the
active catalogue.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { useOptionalMessages } from "@mapcairn/map";
function useOptionalMessages(): MessageCatalogue;
Returns
MessageCatalogue