Skip to main content

usePlatformLanguage

usePlatformLanguage is a hook that simplifies retrieving the PlatformLanguage. Under the hood is nothing more than the implementation of getPlatformLanguage as a hook.

const platformLanguage = usePlatformLanguage();