Skip to content

Releases: bloodyowl/react-translate

5.0.0

14 Dec 10:02
Compare
Choose a tag to compare

Breaking changes

Changed the way we export react-translate

3.0.4

30 Oct 11:28
Compare
Choose a tag to compare

new features

  • translations now accept ReactElements as variables

breaking changes

  • undefined, null, true & false in variables now render a nothing, like react does

internal

  • removed OO parts
  • context.translator is now a function

2.0.0

28 Oct 11:14
Compare
Choose a tag to compare

internal

  • switched to babel to generate npm package, this means you can now import "react-translate/lib/translate" directly

breaking changes

  • dropped support for react 0.13-

new features

  • translate decorator now update if a new translations is passed to TranslatorProvider