Skip to content

usePreferredLanguages ​

Category
Browser

that returns a browser preferred languages from navigator

typescript
import { usePreferredLanguages } from '@siberiacancode/reactuse';

Usage ​

typescript
const languages = usePreferredLanguages();

Demo ​

Api ​

Contributors ​

Source • Demo