Releases: appannie/react-i18n-jed
Releases · appannie/react-i18n-jed
v3.3.5
Update peerDependencies
versions of React
v3.3.0
Expose a prop innerRef
to pass ref
to the translated components.
Even thought this option is exposed, we'd recommend to use the useI18n()
whenever possible instead of the custom property.
v3.2.0
Now support hooks!
import { useI18n } from 'react-i18n-jed';
const Comp = () => {
const { gettext } = useI18n();
return gettext('Hi');
}
v3.1.0
- Make sure Flow properly detect we hoist the static properties.
v3.0.0
Updated to use the React v16.3 Context API.
Fix broken flow-types.
v2.0.0
- Updated to use the React v16.3 Context API.