All Versions
261
Latest Version
Avg Release Cycle
12 days
Latest Release
-
Changelog History
Page 20
Changelog History
Page 20
-
v7.3.2 Changes
- replace Interpolate PureComponent with Component to assert it gets rerendered on lng change
-
v7.3.1 Changes
- โ remove react-dom from peer dependencies as module is used in react-native too
-
v7.3.0 Changes
- ๐ Allow translate HOC to take a function for getting namespaces 372
-
v7.1.1 Changes
- ๐ fixes: bring back Trans component t fc from context
-
v7.1.0 Changes
- optional take i18n.t in Trans component if non t function passed in via props or context
-
v7.0.2 Changes
- ๐ fixes rendering in Trans component in case of no parent
-
v7.0.1 Changes
- working Trans component without the need of setting options.react
-
v7.0.0 Changes
- [BREAKING] As with react 16 you can return multiple elements from render - based on that we do not need to return a wrapper any longer from Trans component.
0๏ธโฃ Starting with v7.0.0 Trans component per default won't add a parent div around content passed as children. It will just return it's children.
You still got the option to set a parent if you prefer content being wrapped.
0๏ธโฃ If you prefer wrapping for all your Trans components (or for backwards compatibility) you can set option
react.defaultTransParent
to an element on i18next init. -
v6.2.0 Changes
- โ adds hashTransKey function for custom key generation in case of not passing a key to Trans component and not like having the source value as key