Releases: nayaabkhan/react-polyglot
Releases · nayaabkhan/react-polyglot
Security Patches from Dependabot
v0.7.2 v0.7.2
Memoize polyglot instance during render
Finally! I found some time to push a long time request. We're leaving behind the old way to make way for new ones:
- Stop using
componentWillReceiveProps
and use memoization instead 📝 - A bunch of package updates 🆙
- The baseline required is now react@16.8.0 due to the use of
useMemo
. If you cannot upgrade, please use the latest version below this i.e.v0.6.1
.
Thanks a bunch to @soda0289 for this contribution and all who participated.
v0.6.1
v0.6.0
- Add props to set options for
node-polyglot
by @soda0289 (Thanks to @bastienrobert for the review) - There is now a contributing guide to help new contributors get on-boarded
v0.5.0
v0.4.2
- Adds type definitions thanks to the first time contributor @pmmmwh 🎉
- Security fixes from @dependabot
v0.4.0
Use the new Context API instead of legacy API.
v0.2.6
Add React v16 as a peer dependency