useLanguageLoad
Whether the messages for the language the person chose have failed to load,
and a way to try again, or undefined when the host offers no languages. The
interface stays in the language it was in until a load succeeds, so a status
built from this reads in that language. LanguageLoad also works
when the setting has not changed, which a failed load otherwise waits for.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { useLanguageLoad } from "@mapcairn/map";
function useLanguageLoad(): LanguageLoad | undefined;
Returns
LanguageLoad | undefined