Use translation hook react-i18next

    0

    1

    Jose Romero

    reacti18nexthook•••
    React JavaScript Recipes

    Use translation hook in React using the react-i18next library

    Library: react

    Shortcut: react.translation.hook

    import { useTranslation } from 'react-i18next';
    
    const { t } = useTranslation('common'); 
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.