Skip to content

Releases: appannie/react-i18n-jed

v3.3.5

13 Sep 17:46
1635663
Compare
Choose a tag to compare

Update peerDependencies versions of React

v3.3.0

21 Mar 05:04
Compare
Choose a tag to compare

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

21 Mar 04:09
Compare
Choose a tag to compare

Now support hooks!

import { useI18n } from 'react-i18n-jed';

const Comp = () => {
    const { gettext } = useI18n();
	return gettext('Hi');
}

v3.1.0

08 Aug 09:43
Compare
Choose a tag to compare
  • Make sure Flow properly detect we hoist the static properties.

v3.0.0

17 May 02:43
Compare
Choose a tag to compare

Updated to use the React v16.3 Context API.

Fix broken flow-types.

v2.0.0

14 May 19:59
Compare
Choose a tag to compare
  • Updated to use the React v16.3 Context API.