v2.0.0
·
190 commits
to master
since this release
The primary goal of this release was to simplify certain areas of the library.
- Less repetition in translations data with new format.
- Avoid having to use localize on Components that are already using connect. In v2 you use selectors in mapStateToProps instead.
- No more local vs global translations. All translations are added with the same action creator
addTranslations
- Optimizations made using reselect on selectors
New features:
- New getTranslate and getActiveLanguage selector can be used instead of localize when component is already using connect.
- Now supports nested translation data
For detailed migration guide see migrating from v1 to v2