Back to Integrations

React

REACT APPLICATION INTEGRATION

Official Plugin
Overview

React application integration with hooks and components. Localize your React apps with ease. Perfect for React 16+ with hooks support.

Features
  • React hooks integration
  • Component-based translations
  • Hot reload support
  • TypeScript support
  • Context API integration
  • Dynamic language switching
Example
import { useTranslation } from '@localjsons/react';

function MyComponent() {
  const { t } = useTranslation();
  
  return <h1>{t('welcome')}</h1>;
}

Ready to Get Started?

Start using React integration today

React Integration | Localjsons