useMessages
The active message catalogue, for t/plural/list calls that look up
copy by key instead of writing it inline. With Services.languages it is
the language the person's setting, or else the browser's languages, resolve
to; the catalogue changes when either does, and keeps the previous one while
a lazily loaded language is still arriving. Without it, it is always
Services.messages.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { useMessages } from "@mapcairn/map";
function useMessages(): MessageCatalogue;
Returns
MessageCatalogue